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