From b12e15e4ff27d1865102b116fd296d3e031e6f26 Mon Sep 17 00:00:00 2001 From: xawotihs Date: Sat, 14 Dec 2013 11:55:12 +0100 Subject: [PATCH] Tries to arrange a bit the PSP binary package to make it more usual for users. --- travis-script.sh | 31 ++++++++++++++++++------------- 1 file changed, 18 insertions(+), 13 deletions(-) diff --git a/travis-script.sh b/travis-script.sh index c7c82a2ea..696043da6 100755 --- a/travis-script.sh +++ b/travis-script.sh @@ -11,6 +11,14 @@ cd projects/mtg/ ant update > error.txt cd ../.. +# we create resource package +cd projects/mtg/bin/Res +python createResourceZip.py +# if we let the zip here, Wagic will use it in the testsuite +# and we'll get 51 failed test cases +mv core_*.zip ../../../../core.zip +cd ../../../.. + # we're building a PSP binary here cd JGE make -j 8 @@ -18,11 +26,16 @@ cd .. cd projects/mtg mkdir objs make -j 8 -mkdir psprelease -mv EBOOT.PBP psprelease/ -mv wagic.elf psprelease/ -mv wagic.prx psprelease/ -zip psprelease.zip -r psprelease/ +mkdir WTH +mv EBOOT.PBP WTH/ +mv ../../../JGE/exceptionHandler/prx/exception.prx WTH/ +mv ../../../core.zip WTH/ +cd WTH +unzip core.zip +mv core Res +rm core.zip +cd .. +zip psprelease.zip -r WTH/ cd ../.. # we're building an Android binary here @@ -63,14 +76,6 @@ cd .. zip win-cross.zip -r release/ cd ../.. -# we create resource package -cd projects/mtg/bin/Res -python createResourceZip.py -# if we let the zip here, Wagic will use it in the testsuite -# and we'll get 51 failed test cases -mv core_*.zip ../../../../core.zip -cd ../../../.. - # Now we run the testsuite (Res needs to be in the working directory) cd projects/mtg ../../wagic