Let's build the res zip only if needed

This commit is contained in:
Xawotihs
2019-09-08 23:11:31 +02:00
committed by GitHub
parent 95af76a3b2
commit 46834a6ee9
+8 -6
View File
@@ -25,12 +25,14 @@ ant update > error.txt
cd ../.. cd ../..
# we create resource package # we create resource package
cd projects/mtg/bin/Res if [ "$BUILD_RES" = "YES" ]; then
python createResourceZip.py cd projects/mtg/bin/Res
# if we let the zip here, Wagic will use it in the testsuite python createResourceZip.py
# and we'll get 51 failed test cases # if we let the zip here, Wagic will use it in the testsuite
mv core_*.zip ../../../../core.zip # and we'll get 51 failed test cases
cd ../../../.. mv core_*.zip ../../../../core.zip
cd ../../../..
fi
# we're building a PSP binary here # we're building a PSP binary here
if [ "$BUILD_PSP" = "YES" ]; then if [ "$BUILD_PSP" = "YES" ]; then