1
0
mirror of https://github.com/Anuken/Mindustry.git synced 2024-11-15 01:54:37 +03:00
Mindustry/run-server
2019-05-04 13:17:31 -04:00

9 lines
246 B
Bash
Executable File

#!/usr/bin/env bash
if [[ $# -eq 0 ]] ; then
echo 'A build version must be supplied as the first argument.'
exit 1
fi
./gradlew server:dist -Pbuildversion=$1
java -jar -XX:+HeapDumpOnOutOfMemoryError server/build/libs/server-release.jar