capturetheflag/update.sh
2020-04-30 18:13:05 +01:00

18 lines
308 B
Bash
Executable file

#!/bin/bash
# Update capturetheflag
git pull
# Update all submodules
git submodule update --init --recursive
# Run post-processing actions for maps
./setup_maps.sh
# Run build.sh
./build.sh ../games/capturetheflag
# Queue update
if [[ -d ../worlds/ctf ]]; then
touch ../worlds/ctf/queue_restart.txt
fi