forked from github/server
13 lines
320 B
Bash
Executable file
13 lines
320 B
Bash
Executable file
#!/bin/bash
|
|
|
|
[ -z ${ERESSEA} ] && ERESSEA=~/eressea
|
|
branch="develop"
|
|
if [ -e ${ERESSEA}/build/.preview ]; then
|
|
branch=`cat ${ERESSEA}/build/.preview`
|
|
fi
|
|
SRC=${ERESSEA}/git
|
|
${SRC}/s/preview build ${branch} || exit $?
|
|
for game in 2 3 4 ; do
|
|
${SRC}/s/preview -g ${game} run && \
|
|
${SRC}/s/preview -g ${game} send
|
|
done
|