X-Git-Url: http://git.xonotic.org/?a=blobdiff_plain;f=misc%2Finfrastructure%2Fxonotic-map-compiler.cron;h=14f9fe1ebf7f979b06c861eefed5fe92635c228e;hb=5eb77dcc5e3cd41816d0a6c9a4f5aa3b23429a6e;hp=2064936ce5c095d719c7374123525bfb911e5459;hpb=b21867380b07a080c13c6bc29eb8fffe40b51df1;p=xonotic%2Fxonotic.git diff --git a/misc/infrastructure/xonotic-map-compiler.cron b/misc/infrastructure/xonotic-map-compiler.cron index 2064936c..14f9fe1e 100755 --- a/misc/infrastructure/xonotic-map-compiler.cron +++ b/misc/infrastructure/xonotic-map-compiler.cron @@ -9,10 +9,12 @@ lockfile-touch "$me" & lockpid=$! trap 'kill $lockpid || true; cd "$mepwd"; lockfile-remove "$me"' EXIT trap 'exit 1' INT TERM -set -e +set -ex [ -d xonotic-map-compiler ] || git clone git://git.xonotic.org/xonotic/xonotic.git xonotic-map-compiler cd xonotic-map-compiler ./all clean -m -fU -D # like reclone but do not delete untracked, so q3map2.x86 compile stays +cd netradiant cmake -G "Unix Makefiles" -H. -Bbuild -DCMAKE_BUILD_TYPE=Release cmake --build build -- q3map2 -./misc/tools/xonotic-map-compiler-autobuild build +cd .. +sh -x ./misc/tools/xonotic-map-compiler-autobuild build