mirror of
https://github.com/Anuken/Mindustry.git
synced 2024-11-15 01:54:37 +03:00
9 lines
246 B
Bash
Executable File
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
|