server/process/cron/preview.cron

15 lines
345 B
Text
Raw Normal View History

2015-02-01 08:29:21 +01:00
#!/bin/bash
[ -z ${ERESSEA} ] && ERESSEA=~/eressea
branch="develop"
if [ -e ${ERESSEA}/build/.preview ]; then
branch=`cat ${ERESSEA}/build/.preview`
fi
2015-02-22 16:04:33 +01:00
SRC=${ERESSEA}/git
${SRC}/s/preview build ${branch} || exit $?
${SRC}/s/preview version
2014-08-16 11:43:46 +02:00
for game in 2 3 4 ; do
2015-02-22 16:04:33 +01:00
${SRC}/s/preview -g ${game} run && \
${SRC}/s/preview -g ${game} send
2014-08-16 11:43:46 +02:00
done