1
0
mirror of https://github.com/Anuken/Mindustry.git synced 2024-11-11 14:56:10 +03:00
Mindustry/run-server

9 lines
214 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 server/build/libs/server-release.jar