More script fixes
parent
cd4042109a
commit
d7494128a2
@ -1,17 +1,17 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
case $1 in
|
case $PLATFORM in
|
||||||
x86|i686|win32 )
|
x32|x86|i686|i386|win32|Win32 )
|
||||||
BITS=32 ;;
|
BITS=32 ;;
|
||||||
|
|
||||||
x64_64|x64|win64 )
|
x64|x86_64|x86-64|win64|Win64 )
|
||||||
BITS=64 ;;
|
BITS=64 ;;
|
||||||
|
|
||||||
* )
|
* )
|
||||||
echo "Unknown platform $ARG."
|
echo "Unknown platform $PLATFORM."
|
||||||
exit 1 ;;
|
exit 1 ;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
cd $(dirname $0)/../build_$BITS
|
cd $(dirname $0)/../build_$BITS
|
||||||
|
|
||||||
msbuild OpenMW.sln //t:Build //p:Configuration=$2 //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"
|
||||||
|
Loading…
Reference in New Issue