X-Git-Url: http://git.xonotic.org/?p=xonotic%2Fxonotic.git;a=blobdiff_plain;f=misc%2Finfrastructure%2Fxonotic-map-compiler.cron;h=eb743faa38d43a156452a8cd728a753e0b9acdb5;hp=6434f9649c23bdc895bf0c4297429bbef243f36c;hb=81086fbdb3c137d382cc9a9af3226a3b602a1cc7;hpb=46fb2154dc0d032f0704d56d9c7f9dbbadff38aa diff --git a/misc/infrastructure/xonotic-map-compiler.cron b/misc/infrastructure/xonotic-map-compiler.cron index 6434f964..eb743faa 100755 --- a/misc/infrastructure/xonotic-map-compiler.cron +++ b/misc/infrastructure/xonotic-map-compiler.cron @@ -10,8 +10,11 @@ trap 'kill $lockpid || true; cd "$mepwd"; lockfile-remove "$me"' EXIT trap 'exit 1' INT TERM set -e +[ -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 -make -C netradiant install/q3map2.x86 +./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 +cd .. ./misc/tools/xonotic-map-compiler-autobuild build