islandsurvivalcraft/.vscode/tasks.json
Harrison 73b9225a69 Added proper testing server scripts.
Integrated scripts into VSCode metadata.
2020-04-22 03:26:46 -05:00

58 lines
1.8 KiB
JSON

{
// 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",
"group": "build"
},
{
"dependsOn": ["package"],
"label": "update test server",
"type": "shell",
"options": {"cwd": "${workspaceFolder}/test-server/"},
"command": "powershell -ExecutionPolicy Bypass -File ./load-latest-build.ps1",
"problemMatcher": []
},
{
"dependsOn": ["update test server"],
"label": "start test server",
"type": "shell",
"options": {"cwd": "${workspaceFolder}/test-server/"},
"command": "powershell -ExecutionPolicy Bypass -File ./start-debug-server-process.ps1",
"problemMatcher": [],
"group": "test",
"presentation": {
"echo": true,
"reveal": "silent",
"focus": false,
"panel": "shared",
"showReuseMessage": true,
"clear": false
}
},
{
"label": "stop test server",
"type": "shell",
"options": {"cwd": "${workspaceFolder}/test-server/"},
"command": "powershell -ExecutionPolicy Bypass -File ./end-debug-server-process.ps1",
"problemMatcher": [],
"group": "test",
}
]
}