CivilCore/build.ps1
2024-07-25 00:35:52 +01:00

10 lines
No EOL
326 B
PowerShell

# Check if the test_server directory exists, if not, create it
if (-not (Test-Path -Path test_server)) {
New-Item -ItemType Directory -Path test_server
}
# mvn clean package dependency:copy -DskipTests -DoutputDirectory=test_server/plugins
Set-Location -Path test_server
java -jar server.jar -nogui
Set-Location -Path ..