psake/psake — pull request #24 by toddhgardner (2011-11-04 21:09:30+00:00)
Title: Forcing exit code of Invoke-PSake to the build status. Resolution to bug #23

Exit with the return code of build_success forces the return code to 0 if the build was successful, non-zero if unsuccessful.