Build automation tools for PowerShell module development.
# Build module (default)
.\build.ps1
# Run tests
.\build.ps1 -Task Test
# Generate documentation
.\build.ps1 -Task Docs
# Build in Release mode
.\build.ps1 -Configuration ReleaseWhen you run build.ps1, it automatically:
- Checks for .NET SDK 6.0.100+ (installs to AppData if missing)
- Installs required PowerShell modules (InvokeBuild, Pester, platyPS)
- Runs the selected task using InvokeBuild
Available tasks:
Build- Cleans, compiles, generates help, and packages the moduleTest- Compiles and runs Pester testsDocs- Compiles and updates Markdown documentation