2f8e691e05
- Fix build in vscode - Add v2.0.0 tasks.json thanks to Keith Hill - Add '/property:GenerateFullPaths=true' to build to fix the $mscompile 'problem matcher' not working issue.
64 lines
1.6 KiB
JSON
64 lines
1.6 KiB
JSON
{
|
|
"version": "2.0.0",
|
|
|
|
"windows": {
|
|
"options": {
|
|
"shell": {
|
|
"executable": "pwsh.exe",
|
|
"args": [
|
|
"-NoProfile",
|
|
"-ExecutionPolicy",
|
|
"Bypass",
|
|
"-Command"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"linux": {
|
|
"options": {
|
|
"shell": {
|
|
"executable": "/usr/bin/pwsh",
|
|
"args": [
|
|
"-NoProfile",
|
|
"-Command"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"osx": {
|
|
"options": {
|
|
"shell": {
|
|
"executable": "/usr/local/bin/pwsh",
|
|
"args": [
|
|
"-NoProfile",
|
|
"-Command"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
|
|
"tasks": [
|
|
{
|
|
"label": "Bootstrap",
|
|
"type": "shell",
|
|
"command": "Import-Module ${workspaceFolder}/build.psm1; Start-PSBootstrap",
|
|
"problemMatcher": []
|
|
},
|
|
{
|
|
"label": "Clean Build",
|
|
"type": "shell",
|
|
"command": "Import-Module ${workspaceFolder}/build.psm1; Start-PSBuild -Clean -Output (Join-Path ${workspaceFolder} debug)",
|
|
"problemMatcher": "$msCompile"
|
|
},
|
|
{
|
|
"label": "Build",
|
|
"type": "shell",
|
|
"command": "Import-Module ${workspaceFolder}/build.psm1; Start-PSBuild -Output (Join-Path ${workspaceFolder} debug)",
|
|
"group": {
|
|
"kind": "build",
|
|
"isDefault": true
|
|
},
|
|
"problemMatcher": "$msCompile"
|
|
}
|
|
]
|
|
}
|