]> git.xonotic.org Git - xonotic/xonotic.git/commitdiff
xonotic-map-compiler infrastructure script: allow running "from scratch".
authorRudolf Polzer <divVerent@xonotic.org>
Fri, 11 Oct 2019 16:41:47 +0000 (18:41 +0200)
committerRudolf Polzer <divVerent@xonotic.org>
Fri, 11 Oct 2019 16:41:47 +0000 (18:41 +0200)
misc/infrastructure/xonotic-map-compiler.cron

index e9b69d871672950f60dc2ad5387fa94c35dc72f6..2064936ce5c095d719c7374123525bfb911e5459 100755 (executable)
@@ -10,6 +10,7 @@ trap 'kill $lockpid || true; cd "$mepwd"; lockfile-remove "$me"' EXIT
 trap 'exit 1' INT TERM
 
 set -e
 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
 cmake -G "Unix Makefiles" -H. -Bbuild -DCMAKE_BUILD_TYPE=Release
 cd xonotic-map-compiler
 ./all clean -m -fU -D # like reclone but do not delete untracked, so q3map2.x86 compile stays
 cmake -G "Unix Makefiles" -H. -Bbuild -DCMAKE_BUILD_TYPE=Release