2020-04-18 22:54:53 +00:00
|
|
|
{
|
|
|
|
// 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",
|
2020-04-28 23:13:55 +00:00
|
|
|
"command": "mvn package -DskipTests",
|
2020-04-18 22:54:53 +00:00
|
|
|
"group": "build"
|
2020-04-22 08:26:46 +00:00
|
|
|
},
|
2020-05-11 22:44:22 +00:00
|
|
|
{
|
|
|
|
"label": "delete server world",
|
|
|
|
"type": "shell",
|
|
|
|
"options": {"cwd": "${workspaceFolder}/test-server/"},
|
|
|
|
"args": ["-ExecutionPolicy", "Bypass", "-File", "./delete_worlds.ps1"],
|
2022-12-04 05:09:04 +00:00
|
|
|
"command": "pwsh",
|
2020-05-11 22:44:22 +00:00
|
|
|
"problemMatcher": []
|
|
|
|
},
|
2020-04-22 08:26:46 +00:00
|
|
|
{
|
|
|
|
"dependsOn": ["package"],
|
2020-05-11 22:44:22 +00:00
|
|
|
"label": "load build",
|
2020-04-22 08:26:46 +00:00
|
|
|
"type": "shell",
|
2020-05-11 22:44:22 +00:00
|
|
|
"args": ["-ExecutionPolicy", "Bypass", "-File", "./load_build.ps1"],
|
2020-04-22 08:26:46 +00:00
|
|
|
"options": {"cwd": "${workspaceFolder}/test-server/"},
|
2022-12-04 05:09:04 +00:00
|
|
|
"command": "pwsh",
|
2020-04-23 02:16:43 +00:00
|
|
|
"problemMatcher": [],
|
|
|
|
"presentation": {
|
|
|
|
"echo": true,
|
|
|
|
"reveal": "silent",
|
|
|
|
"focus": false,
|
|
|
|
"panel": "shared",
|
2020-04-24 22:50:18 +00:00
|
|
|
"showReuseMessage": true,
|
2020-04-24 02:14:18 +00:00
|
|
|
"clear": false
|
2020-04-23 02:16:43 +00:00
|
|
|
}
|
2020-04-22 08:26:46 +00:00
|
|
|
},
|
|
|
|
{
|
2020-05-11 22:44:22 +00:00
|
|
|
"dependsOn": ["load build"],
|
2020-04-22 08:26:46 +00:00
|
|
|
"label": "start test server",
|
|
|
|
"type": "shell",
|
2020-04-22 22:50:36 +00:00
|
|
|
"runOptions": {"instanceLimit": 1},
|
2020-04-24 02:14:18 +00:00
|
|
|
"args": ["-ExecutionPolicy", "Bypass", "-File", "./start_process.ps1"],
|
2020-04-22 08:26:46 +00:00
|
|
|
"options": {"cwd": "${workspaceFolder}/test-server/"},
|
2022-12-04 05:09:04 +00:00
|
|
|
"command": "pwsh",
|
2020-04-22 08:26:46 +00:00
|
|
|
"problemMatcher": [],
|
|
|
|
"group": "test",
|
|
|
|
"presentation": {
|
|
|
|
"echo": true,
|
|
|
|
"reveal": "silent",
|
|
|
|
"focus": false,
|
|
|
|
"panel": "shared",
|
2020-04-23 02:16:43 +00:00
|
|
|
"showReuseMessage": false,
|
2020-04-22 08:26:46 +00:00
|
|
|
"clear": false
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "stop test server",
|
|
|
|
"type": "shell",
|
2020-04-24 02:14:18 +00:00
|
|
|
"args": ["-ExecutionPolicy", "Bypass", "-File", "./end_process.ps1"],
|
2020-04-22 08:26:46 +00:00
|
|
|
"options": {"cwd": "${workspaceFolder}/test-server/"},
|
2022-12-04 05:09:04 +00:00
|
|
|
"command": "pwsh",
|
2020-04-22 08:26:46 +00:00
|
|
|
"problemMatcher": [],
|
|
|
|
"group": "test",
|
2020-04-23 02:16:43 +00:00
|
|
|
"presentation": {
|
|
|
|
"echo": true,
|
|
|
|
"reveal": "silent",
|
|
|
|
"focus": false,
|
|
|
|
"panel": "shared",
|
|
|
|
"showReuseMessage": true,
|
|
|
|
"clear": false
|
|
|
|
}
|
2020-04-18 22:54:53 +00:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|