81 lines
1.7 KiB
JSON
81 lines
1.7 KiB
JSON
{
|
|
"version": "2.0.0",
|
|
"tasks": [
|
|
{
|
|
"label": "build",
|
|
"group": "build",
|
|
"command": "dotnet",
|
|
"type": "process",
|
|
"args": [
|
|
"build",
|
|
],
|
|
"problemMatcher": "$msCompile",
|
|
"presentation": {
|
|
"echo": true,
|
|
"reveal": "silent",
|
|
"focus": false,
|
|
"panel": "shared",
|
|
"showReuseMessage": false,
|
|
"clear": false
|
|
}
|
|
},
|
|
{
|
|
"label": "build-without-tests",
|
|
"group": "build",
|
|
"command": "dotnet",
|
|
"type": "process",
|
|
"options": {
|
|
"env": {
|
|
"SKIP_TESTS": "1"
|
|
}
|
|
},
|
|
"args": [
|
|
"build",
|
|
],
|
|
"problemMatcher": "$msCompile",
|
|
"presentation": {
|
|
"echo": true,
|
|
"reveal": "silent",
|
|
"focus": false,
|
|
"panel": "shared",
|
|
"showReuseMessage": false,
|
|
"clear": false
|
|
}
|
|
},
|
|
{
|
|
"label": "coverage",
|
|
"group": "test",
|
|
"command": "${workspaceFolder}/coverage.sh",
|
|
"type": "shell",
|
|
"options": {
|
|
"cwd": "${workspaceFolder}"
|
|
},
|
|
"presentation": {
|
|
"echo": true,
|
|
"reveal": "always",
|
|
"focus": false,
|
|
"panel": "shared",
|
|
"showReuseMessage": false,
|
|
"clear": true
|
|
},
|
|
},
|
|
{
|
|
"label": "build-solutions",
|
|
"group": "test",
|
|
"command": "dotnet restore; ${env:GODOT} --headless --build-solutions --quit || exit 0",
|
|
"type": "shell",
|
|
"options": {
|
|
"cwd": "${workspaceFolder}"
|
|
},
|
|
"presentation": {
|
|
"echo": true,
|
|
"reveal": "silent",
|
|
"focus": false,
|
|
"panel": "shared",
|
|
"showReuseMessage": false,
|
|
"clear": false
|
|
}
|
|
},
|
|
]
|
|
}
|