add compile.sh
This commit is contained in:
parent
18eb82bc81
commit
850297aa91
12
server/bin/compile.sh
Normal file
12
server/bin/compile.sh
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
cd ../../
|
||||||
|
if [ $# == 0 ]; then
|
||||||
|
git checkout master
|
||||||
|
else
|
||||||
|
git checkout $1
|
||||||
|
fi
|
||||||
|
git pull
|
||||||
|
git submodule init
|
||||||
|
git submodule update
|
||||||
|
cd server/gameserver
|
||||||
|
cmake .
|
||||||
|
make
|
Loading…
x
Reference in New Issue
Block a user