islandsurvivalcraft/.vscode/tasks.json

86 lines
2.7 KiB
JSON
Raw Permalink Normal View History

{
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "2.0.0",
"tasks": [
{
"label": "verify",
"type": "shell",
"command": "mvn -B verify",
"group": "build"
},
{
"label": "test",
"type": "shell",
"command": "mvn -B test",
"group": "test"
},
{
"label": "package",
"type": "shell",
"command": "mvn package -DskipTests",
"group": "build"
},
{
"label": "delete server world",
"type": "shell",
"options": {"cwd": "${workspaceFolder}/test-server/"},
"args": ["-ExecutionPolicy", "Bypass", "-File", "./delete_worlds.ps1"],
"command": "pwsh",
"problemMatcher": []
},
{
"dependsOn": ["package"],
"label": "load build",
"type": "shell",
"args": ["-ExecutionPolicy", "Bypass", "-File", "./load_build.ps1"],
"options": {"cwd": "${workspaceFolder}/test-server/"},
"command": "pwsh",
"problemMatcher": [],
"presentation": {
"echo": true,
"reveal": "silent",
"focus": false,
"panel": "shared",
2020-04-24 22:50:18 +00:00
"showReuseMessage": true,
"clear": false
}
},
{
"dependsOn": ["load build"],
"label": "start test server",
"type": "shell",
"runOptions": {"instanceLimit": 1},
"args": ["-ExecutionPolicy", "Bypass", "-File", "./start_process.ps1"],
"options": {"cwd": "${workspaceFolder}/test-server/"},
"command": "pwsh",
"problemMatcher": [],
"group": "test",
"presentation": {
"echo": true,
"reveal": "silent",
"focus": false,
"panel": "shared",
"showReuseMessage": false,
"clear": false
}
},
{
"label": "stop test server",
"type": "shell",
"args": ["-ExecutionPolicy", "Bypass", "-File", "./end_process.ps1"],
"options": {"cwd": "${workspaceFolder}/test-server/"},
"command": "pwsh",
"problemMatcher": [],
"group": "test",
"presentation": {
"echo": true,
"reveal": "silent",
"focus": false,
"panel": "shared",
"showReuseMessage": true,
"clear": false
}
}
]
}