|
|
|
@ -1,10 +1,6 @@
|
|
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
|
|
while [ $# -gt 0 ]; do
|
|
|
|
|
ARG=$1
|
|
|
|
|
shift
|
|
|
|
|
|
|
|
|
|
case $ARG in
|
|
|
|
|
case $1 in
|
|
|
|
|
x86|i686|win32 )
|
|
|
|
|
BITS=32 ;;
|
|
|
|
|
|
|
|
|
@ -12,11 +8,10 @@ while [ $# -gt 0 ]; do
|
|
|
|
|
BITS=64 ;;
|
|
|
|
|
|
|
|
|
|
* )
|
|
|
|
|
echo "Unknown arg $ARG."
|
|
|
|
|
echo "Unknown platform $ARG."
|
|
|
|
|
exit 1 ;;
|
|
|
|
|
esac
|
|
|
|
|
done
|
|
|
|
|
esac
|
|
|
|
|
|
|
|
|
|
cd $(dirname $0)/../build_$BITS
|
|
|
|
|
|
|
|
|
|
msbuild OpenMW.sln //t:Build //p:Configuration=Release //m:8 //logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
|
|
|
|
|
msbuild OpenMW.sln //t:Build //p:Configuration=$2 //m:8 //logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
|
|
|
|
|