Harrison
421af33658
VSCode task output and cleanup config changed. Added some more verbosity to scripts.
78 lines
2.5 KiB
JSON
78 lines
2.5 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",
|
|
"args": ["-ExecutionPolicy", "Bypass", "-File", "./load-latest-build.ps1"],
|
|
"options": {"cwd": "${workspaceFolder}/test-server/"},
|
|
"command": "powershell",
|
|
"problemMatcher": [],
|
|
"presentation": {
|
|
"echo": true,
|
|
"reveal": "silent",
|
|
"focus": false,
|
|
"panel": "shared",
|
|
"showReuseMessage": false,
|
|
"clear": true
|
|
}
|
|
},
|
|
{
|
|
"dependsOn": ["update test server"],
|
|
"label": "start test server",
|
|
"type": "shell",
|
|
"runOptions": {"instanceLimit": 1},
|
|
"args": ["-ExecutionPolicy", "Bypass", "-File", "./start-debug-server-process.ps1"],
|
|
"options": {"cwd": "${workspaceFolder}/test-server/"},
|
|
"command": "powershell",
|
|
"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-debug-server-process.ps1"],
|
|
"options": {"cwd": "${workspaceFolder}/test-server/"},
|
|
"command": "powershell",
|
|
"problemMatcher": [],
|
|
"group": "test",
|
|
"presentation": {
|
|
"echo": true,
|
|
"reveal": "silent",
|
|
"focus": false,
|
|
"panel": "shared",
|
|
"showReuseMessage": true,
|
|
"clear": false
|
|
}
|
|
}
|
|
]
|
|
} |