X-Git-Url: http://git.xonotic.org/?a=blobdiff_plain;f=misc%2Finfrastructure%2Fxonotic-map-screenshot.cron;h=688e266236351e9cc927d8488382b43770f0fb8a;hb=37e3d71e28441abac3bc00682559b0076fe8dde2;hp=829fab8772d0cf935fba3ee328e74f5d23ae9435;hpb=28181522fb3dc660cb00cbe97a3e3e2e42faa61e;p=xonotic%2Fxonotic.git diff --git a/misc/infrastructure/xonotic-map-screenshot.cron b/misc/infrastructure/xonotic-map-screenshot.cron index 829fab87..688e2662 100755 --- a/misc/infrastructure/xonotic-map-screenshot.cron +++ b/misc/infrastructure/xonotic-map-screenshot.cron @@ -2,36 +2,18 @@ mepwd=$PWD me=$0 -if ! lockfile-create "$me"; then - exit 1 -fi -lockfile-touch "$me" & lockpid=$! -trap 'kill $lockpid || true; cd "$mepwd"; lockfile-remove "$me"' EXIT -trap 'exit 1' INT TERM +export PATH=/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/usr/bin/vendor_perl:/usr/bin/core_perl set -e cd xonotic ./all clean -m -fU -D # like reclone but do not delete untracked, so q3map2.x86 compile stays -./all compile -export __GL_FSAA_MODE=8 +./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 sh -x ./misc/tools/xonotic-map-compiler-autobuild screenshot -GET http://beta.xonotic.org/autobuild-bsp/ >/dev/null -cd "$HOME/autobuild-bsp" || exit 1 -now=`date +%s` -deltime=$(($now + 86400)) -grep -l -- '-->(none)