minetest_scripts/start.sh

18 lines
350 B
Bash
Executable File

#!/bin/bash
# updates everything & starts minetest
# in paralel
# update minetest
# rebuild minetest
echo $(git pull; 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