Skip to content

Commit

Permalink
Fix psake, this isn't PSDeploy, we can recurse
Browse files Browse the repository at this point in the history
!Deploy with !Verbose
  • Loading branch information
RamblingCookieMonster committed Sep 3, 2016
1 parent 36d9517 commit f955321
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .build/2.psake.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,12 @@ Task Build -Depends Test {

# Load the module, read the exported functions, update the psd1 FunctionsToExport
Set-ModuleFunctions

if(-not $ENV:BHPSModulePath)
{
Get-Item ENV:BH*
Throw 'BuildHelpers fail!'
}
}

Task Deploy -Depends Build {
Expand All @@ -76,7 +82,6 @@ Task Deploy -Depends Build {
$Params = @{
Path = $ProjectRoot
Force = $true
Recurse = $false # We keep psdeploy artifacts, avoid deploying those : )
}
Invoke-PSDeploy @Verbose @Params
}

0 comments on commit f955321

Please sign in to comment.