]> git.xonotic.org Git - xonotic/xonotic.git/blob - misc/infrastructure/xonotic-map-screenshot.cron
Build an optimized release binary when using `./all compile` by default
[xonotic/xonotic.git] / misc / infrastructure / xonotic-map-screenshot.cron
1 #!/bin/sh
2
3 mepwd=$PWD
4 me=$0
5 export PATH=/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/usr/bin/vendor_perl:/usr/bin/core_perl
6
7 set -e
8 cd xonotic
9 ./all clean -m -fU -D
10 # like reclone but do not delete untracked, so q3map2.x86 compile stays
11 ./all compile
12 export DRIVER=soft
13 #export DRIVERFLAGS="+gl_texturecompression 1 -nofbo"
14 #export DRIVERFLAGS="+gl_texturecompression 1"
15
16 #startx /bin/sh -x ./misc/tools/xonotic-map-compiler-autobuild screenshot -- /usr/bin/Xvfb :7 -screen 0 1024x768x24
17 sh -x ./misc/tools/xonotic-map-compiler-autobuild screenshot
18
19 lwp-request -m GET http://beta.xonotic.org/autobuild-bsp/?d,c >/dev/null