mirror of
https://github.com/PowerShell/PowerShell.git
synced 2024-11-23 17:53:58 +08:00
65 lines
1.7 KiB
JSON
65 lines
1.7 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"
|
|
}
|
|
]
|
|
}
|