Skip to content

Commit

Permalink
Exit with the return code of build_success forces the return code to …
Browse files Browse the repository at this point in the history
…0 if the build was successful, non-zero if unsuccessful.
  • Loading branch information
Todd H. Gardner committed Nov 4, 2011
1 parent a7aea83 commit 5831490
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions psake.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -393,6 +393,7 @@ function Invoke-psake {
}
} finally {
Cleanup-Environment
exit($psake.build_success)
}
} #Invoke-psake

Expand Down

0 comments on commit 5831490

Please sign in to comment.