On Nov 1, 9:55 am, hwiechers <hwiech...@gmail.com> wrote:
For more options, visit this group at http://groups.google.com/group/psake-users?hl=en.--
You received this message because you are subscribed to the Google Groups "psake-users" group.
To post to this group, send email to psake...@googlegroups.com.
To unsubscribe from this group, send email to psake-users...@googlegroups.com.
You've found a bug in the code, I explicitly set the variable
$psake.use_exit_on_error to $false in the Invoke-psake function.
You just need to comment out line 887 in the psake.psm1 file and it should
work. I'll fix this in my next commit to psake.
By the way, the $psake variable is not a property in the sense of properties
that you set in a psake build file. The $psake variable is more of a
control/feedback mechanism that you can inspect from the coded that calls
the Invoke-psake function.
The ability to pass values to properties that are defined in a psake script
does not exist. For example, it would be nice to do something like this:
Invoke-psake .\mybuild.ps1 -properties @{ "ConnectionString"="xxxxx";
"BackupLogs"=$true }
I intend to add this feature to psake in the future.
Thanks!
--------------------------------------------------
From: "Dan Ryan" <mail.d...@googlemail.com>
Sent: Wednesday, December 23, 2009 5:55 AM
To: "psake-users" <psake...@googlegroups.com>
Subject: Re: Setting Properties From Invoke-psake