mirror of
https://gitlab.com/2009scape/2009scape.git
synced 2025-12-09 16:45:44 -07:00
14 lines
No EOL
334 B
Batchfile
14 lines
No EOL
334 B
Batchfile
@echo off
|
|
cd Server
|
|
|
|
if NOT exist hasRan.txt (
|
|
.\mvnw.cmd clean
|
|
copy NUL hasRan.txt
|
|
.\mvnw.cmd package -DskipTests
|
|
xcopy /Y target\*-with-dependencies.jar server.jar*
|
|
java -jar server.jar
|
|
) ELSE (
|
|
.\mvnw.cmd package -DskipTests
|
|
xcopy /Y target\*-with-dependencies.jar server.jar*
|
|
java -jar server.jar
|
|
) |