build.ps1
[cmdletbinding()] param( [string[]]$Task = 'default' ) if (!(Get-Module -Name Pester -ListAvailable)) { Install-Module -Name Pester -Force -Scope CurrentUser } if (!(Get-Module -Name psake -ListAvailable)) { Install-Module -Name psake -Force -Scope CurrentUser } if (!(Get-Module -Name PSDeploy -ListAvailable)) { Install-Module -Name PSDeploy -Force -Scope CurrentUser } Invoke-psake -buildFile "$PSScriptRoot\psakeBuild.ps1" -taskList $Task -Verbose:$VerbosePreference |