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
|
2015-02-07 19:04:50 +01:00
|
|
|
BIN=${ERESSEA}/server/s
|
|
|
|
${BIN}/preview build ${branch} || exit $?
|
|
|
|
${BIN}/preview version
|
2014-08-16 11:43:46 +02:00
|
|
|
for game in 2 3 4 ; do
|
2015-02-07 19:04:50 +01:00
|
|
|
${BIN}/preview -g ${game} run && \
|
|
|
|
${BIN}/preview -g ${game} send
|
2014-08-16 11:43:46 +02:00
|
|
|
done
|