And yet I forgot about msbuild, should work now

This commit is contained in:
Alexander "Ace" Olofsson 2015-06-03 02:04:31 +02:00
parent 20b7c7b46c
commit 108c2719a8
2 changed files with 8 additions and 5 deletions

View file

@ -46,7 +46,7 @@ run_cmd() {
else else
7z a output.7z output.log > /dev/null 2>&1 7z a output.7z output.log > /dev/null 2>&1
appveyor PushArtifact output.7z -DeploymentName $CMD-output.7z appveyor PushArtifact output.7z -FileName $CMD-output.7z
appveyor AddMessage "Command $CMD failed (code $RET), output has been pushed as an artifact." -Category Error appveyor AddMessage "Command $CMD failed (code $RET), output has been pushed as an artifact." -Category Error
fi fi
else else
@ -90,10 +90,6 @@ real_pwd() {
pwd | sed "s,/\(.\),\1:," pwd | sed "s,/\(.\),\1:,"
} }
msbuild() {
/c/Program\ Files\ \(x86\)/MSBuild/12.0/Bin/MSBuild.exe $@
}
CMAKE_OPTS="" CMAKE_OPTS=""
add_cmake_opts() { add_cmake_opts() {
CMAKE_OPTS="$CMAKE_OPTS $@" CMAKE_OPTS="$CMAKE_OPTS $@"

View file

@ -33,4 +33,11 @@ fi
cd build_$BITS cd build_$BITS
which msbuild > /dev/null
if [ $? -ne 0 ]; then
msbuild() {
/c/Program\ Files\ \(x86\)/MSBuild/12.0/Bin/MSBuild.exe "$@"
}
fi
msbuild OpenMW.sln //t:Build //p:Configuration=$CONFIGURATION //m:8 //logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll" msbuild OpenMW.sln //t:Build //p:Configuration=$CONFIGURATION //m:8 //logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"