xonotic/misc/infrastructure/xonotic-map-screenshot.cron

20 lines
643 B
Plaintext
Raw Normal View History

2010-10-18 17:20:05 +00:00
#!/bin/sh
mepwd=$PWD
me=$0
2012-02-21 13:16:16 +00:00
export PATH=/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/usr/bin/vendor_perl:/usr/bin/core_perl
2010-10-18 17:20:05 +00:00
set -e
cd xonotic
./all clean -m -fU -D
# like reclone but do not delete untracked, so q3map2.x86 compile stays
2012-02-21 13:16:16 +00:00
./all compile -r
export DRIVER=soft
#export DRIVERFLAGS="+gl_texturecompression 1 -nofbo"
#export DRIVERFLAGS="+gl_texturecompression 1"
#startx /bin/sh -x ./misc/tools/xonotic-map-compiler-autobuild screenshot -- /usr/bin/Xvfb :7 -screen 0 1024x768x24
2010-10-18 17:20:05 +00:00
sh -x ./misc/tools/xonotic-map-compiler-autobuild screenshot
2012-02-21 13:16:16 +00:00
lwp-request -m GET http://beta.xonotic.org/autobuild-bsp/?d,c >/dev/null