Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 3 additions & 25 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@
"request": "launch",
"name": "PowerShell Launch Current File",
"script": "${file}",
"args": [],
"args": [ ],
"cwd": "${file}"
},
{
"type": "PowerShell",
"request": "launch",
"name": "PowerShell Launch Current File in Temporary Console",
"script": "${file}",
"args": [],
"args": [ ],
"cwd": "${file}",
"createTemporaryIntegratedConsole": true
},
Expand All @@ -23,30 +23,8 @@
"request": "launch",
"name": "PowerShell Launch Current File w/Args Prompt",
"script": "${file}",
"args": ["${command:SpecifyScriptArgs}"],
"args": [ "${command:SpecifyScriptArgs}" ],
"cwd": "${file}"
},
{
"type": "PowerShell",
"request": "launch",
"name": "PowerShell Launch DebugTest.ps1",
"script": "${workspaceRoot}/DebugTest.ps1",
"args": ["-Count 55 -DelayMilliseconds 250"],
"cwd": "${workspaceRoot}"
},
{
"type": "PowerShell",
"request": "launch",
"name": "PowerShell Interactive Session",
"cwd": "${workspaceRoot}"
},
{
"type": "PowerShell",
"request": "launch",
"name": "PowerShell Pester Tests",
"script": "Invoke-Pester",
"args": [],
"cwd": "${workspaceRoot}"
}
]
}
62 changes: 56 additions & 6 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,24 +41,74 @@
{
"label": "Bootstrap",
"type": "shell",
"command": "Import-Module '${workspaceFolder}/build.psm1'; Start-PSBootstrap",
"problemMatcher": []
"command": "if (-not (Get-Module -ListAvailable -Name PSDepend)) { Install-Module -Name PSDepend -Scope CurrentUser -Force }; Invoke-PSDepend -Path '${workspaceFolder}/requirements.psd1' -Install -Import -Force",
"problemMatcher": [ ]
},
{
"label": "Clean Build",
"type": "shell",
"command": "Import-Module '${workspaceFolder}/build.psm1'; Start-PSBuild -Clean -Output (Join-Path '${workspaceFolder}' debug)",
"problemMatcher": "$msCompile"
"command": "Invoke-Build Clean,Build",
"group": {
"kind": "build"
},
"problemMatcher": [ ]
},
{
"label": "Build",
"type": "shell",
"command": "Import-Module '${workspaceFolder}/build.psm1'; Start-PSBuild -Output (Join-Path '${workspaceFolder}' debug)",
"command": "Invoke-Build Build",
"group": {
"kind": "build",
"isDefault": true
},
"problemMatcher": "$msCompile"
"problemMatcher": [ ]
},
{
"label": "Test",
"type": "shell",
"command": "Invoke-Build Test",
"group": "test",
"problemMatcher": [ ]
},
{
"label": "UnitTests",
"type": "shell",
"command": "Invoke-Build UnitTests",
"group": "test",
"problemMatcher": [ ]
},
{
"label": "IntegrationTests",
"type": "shell",
"command": "Invoke-Build IntegrationTests",
"group": "test",
"problemMatcher": [ ]
},
{
"label": "PSScriptAnalyzer",
"type": "shell",
"command": "Invoke-Build PSScriptAnalyzer",
"group": "test",
"problemMatcher": [ ]
},
{
"label": "InjectionHunter",
"type": "shell",
"command": "Invoke-Build InjectionHunter",
"group": "test",
"problemMatcher": [ ]
},
{
"label": "Export-CommandHelp",
"type": "shell",
"command": "Invoke-Build Export-CommandHelp",
"problemMatcher": [ ]
},
{
"label": "Clean",
"type": "shell",
"command": "Invoke-Build Clean",
"problemMatcher": [ ]
}
]
}