capturetheflag/update.sh

19 lines
309 B
Bash
Raw Normal View History

2020-04-30 17:08:01 +00:00
#!/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
2020-04-30 17:08:01 +00:00
# Queue restart
2020-04-30 17:08:01 +00:00
if [[ -d ../worlds/ctf ]]; then
touch ../worlds/ctf/queue_restart.txt
fi