File: build

package info (click to toggle)
microprofile 4.0%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 2,960 kB
  • sloc: cpp: 17,692; asm: 372; ansic: 265; makefile: 257; sh: 36
file content (13 lines) | stat: -rwxr-xr-x 507 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/bash
set -ev
if [[ "$TRAVIS_OS_NAME" = "windows" ]] ; then
	export PATH="c:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\BuildTools\\MSBuild\\15.0\Bin\\":$PATH
	pushd demo\\$TARGET\\ 
	MSBuild.exe /property:Configuration="Release";Platform="x64"
	MSBuild.exe /property:Configuration="Debug";Platform="x64"
	MSBuild.exe /property:Configuration="Release";Platform="x86"
	MSBuild.exe /property:Configuration="Debug";Platform="x86"
	popd
else
	pushd demo/$TARGET && make clean && make && popd
fi