Add maven

This commit is contained in:
Ceikry
2022-05-31 02:51:22 +00:00
parent 0b0fc5271d
commit 185496e561
37 changed files with 1450 additions and 522 deletions
Executable
+10
View File
@@ -0,0 +1,10 @@
#!/bin/bash
cd Server
if [ ! -f hasRun.txt ]; then
sh mvnw clean
touch hasRun.txt
fi
sh mvnw package -DskipTests
mv target/*with-dependencies.jar /tmp/server.jar
java -jar /tmp/server.jar