forgot to re-add start.sh
parent
ad59ffbabf
commit
6c0ad83a97
|
@ -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
|
Loading…
Reference in New Issue