PsBuildTasks

Reusable sources for build, test, release automation of PowerShell modules, written in DotNet/C# or PowerShell.

View the Project on GitHub abbgrade/PsBuildTasks

VSCode Tasks

It provides tasks for the corresponding InvokeBuild Tasks.

Available tasks

All test tasks run Build first and execute Pester from the test directory. Run them from the VS Code Command Palette with Tasks: Run Task.

Usage

task UpdateVsCodeTasks {
    Invoke-WebRequest `
        -Uri 'https://raw.githubusercontent.com/abbgrade/PsBuildTasks/main/VsCode\tasks.json' `
        -OutFile "$PSScriptRoot\.vscode\tasks.json"
}