2014-09-21 09:56:15 +02:00
|
|
|
#!/bin/sh
|
2015-01-09 20:41:48 +01:00
|
|
|
[ -z ${ERESSEA} ] && ERESSEA=~/eressea
|
|
|
|
branch="master"
|
|
|
|
if [ -e ${ERESSEA}/build/.preview ]; then
|
|
|
|
branch=`cat ${ERESSEA}/build/.preview`
|
|
|
|
fi
|
|
|
|
SRC=${ERESSEA}/git
|
|
|
|
${SRC}/s/preview build ${branch}
|
|
|
|
${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
|