Tags: psake/psake
Tags
psake v5.0.0: Two-phase compile/run model, declarative DSL, caching, … …structured output (#355) Major version upgrade introducing: - Two-phase compile/run model (Pester v5-inspired): dependency graph validated via topological sort before any task executes - Declarative Task syntax: Task 'Build' @{ DependsOn = 'Clean'; Action = {...} } with unknown key validation - Local file-based caching: tasks with Inputs/Outputs are content-addressed cached in .psake/cache/; unchanged tasks are skipped - Structured output: Invoke-psake returns PsakeBuildResult with per-task results - JSON output: -OutputFormat JSON for CI integration - Testability APIs: Get-PsakeBuildPlan (inspect plan), Test-PsakeTask (isolated execution) - Version declaration: Version 5 pins build scripts to psake major version - Hashtable Properties: Properties @{ Config = 'Release' } Breaking changes: - Minimum PowerShell version raised to 5.1 - Removed default.ps1 fallback, psake.ps1/psake.cmd runners - Removed .NET Framework < 4.0 support, deprecated $framework global - Invoke-psake now returns PsakeBuildResult ($psake.build_success retained) https://claude.ai/code/session_01BwHqrE9vCV8R3DoFmvK3Su --------- Co-authored-by: Claude <noreply@anthropic.com>
PreviousNext