update.sh: Use git submodule update instead of manually git pull-ing (#514)
This commit is contained in:
parent
e3d2a3424f
commit
f0c4e19b51
1 changed files with 2 additions and 8 deletions
10
update.sh
10
update.sh
|
@ -1,16 +1,10 @@
|
||||||
# Update capturetheflag
|
# Update capturetheflag
|
||||||
git pull
|
git pull
|
||||||
|
|
||||||
# Update crafting submodule
|
# Update all submodules
|
||||||
cd mods/crafting
|
git submodule update --init --recursive
|
||||||
git pull origin master
|
|
||||||
|
|
||||||
# Update maps submodule
|
|
||||||
cd ../ctf/ctf_map/maps
|
|
||||||
git pull origin master
|
|
||||||
|
|
||||||
# Run post-processing actions for maps
|
# Run post-processing actions for maps
|
||||||
cd ../../../..
|
|
||||||
./setup_maps.sh
|
./setup_maps.sh
|
||||||
|
|
||||||
# Run build.sh
|
# Run build.sh
|
||||||
|
|
Loading…
Reference in a new issue