forgot to re-add start.sh

master
Your Name 2012-12-16 17:27:32 +01:00
parent ad59ffbabf
commit 6c0ad83a97
1 changed files with 19 additions and 0 deletions

19
start.sh Normal file
View File

@ -0,0 +1,19 @@
#!/bin/bash
# updates everything & starts minetest
# in paralel
# update minetest
git pull
# rebuild minetest
cmake . -DRUN_IN_PLACE=1 -DENABLE_SOUND=0 -DBUILD_CLIENT=0 -DCMAKE_BUILD_TYPE=Release
make -j 8 &
cd minetest_scripts
./update.sh &
cd ..
wait # wait until everything is up-to-date
# start the server
bin/minetestserver
exit 0