Although, the original example of having a build output path variable
($buildOutputDirPath = ".\Build\$buildConfiguration") is the only
scenario I can see this coming in useful. But I reckon still worth
implementing!
On Mar 10, 3:51 pm, Dusty Candland <candl...@gmail.com> wrote:
> +1
>
>
>
> On Wed, Mar 10, 2010 at 7:31 AM, zi makki <zima...@gmail.com> wrote:
> > +1
>
> > Sent from my iPhone
>
> > On 10 Mar 2010, at 02:28 PM, Joshua Poehls <jdpoe...@gmail.com> wrote:
>
> > At least in my scripts, having the command-line parameters processed before
> > the script properties would not introduce any breaking changes.
>
> > I can definitely see the usefulness of being about to use the command-line
> > params when initializing the script parameters. This would also seem more
> > consistent with how other build tools work. +1
>
> > - Joshua Poehls
>
> > On Tue, Mar 9, 2010 at 10:47 PM, Jorge Matos < <matos.jo...@gmail.com>
> > matos.jo...@gmail.com> wrote:
>
> >> Jason,
>
> >> Command-line parameters are processed after the properties in the build
> >> script are processed so what you want to do can't be done without re-writing
> >> the invoke-psake function. That being said I'm not opposed to having the
> >> command-line parameters processed before the script properties.
>
> >> I would like to get feedback from other users and developers from this
> >> group before I make the change though.
>
> >> *From:* Jason Jarrett <sta...@gmail.com>
> >> *Sent:* Monday, March 08, 2010 2:40 PM
> >> *To:* psake-users <psake...@googlegroups.com>
> >> *Subject:* Feature Request - leverage command line properties within
> >> script properties
>
> >> Not sure how possible this is (or if it even makes sense in the bigger
> >> picture of the project), but would love to reference command line properties
> >> variables within scripts properties block?
>
> >> I hope this sounds useful and I'm not trying to do something crazy here...
>
> >> properties {
> >> #NOTE: the $buildConfiguration should be passed in through the command
> >> line parameters
> >> # would be nice to leverage those here...
> >> $buildOutputDirPath = ".\Build\$buildConfiguration"
> >> }
>
> >> I've attached a spec repro to reference if this sounds like a feature that
> >> could be added.
>
> >> Any thoughts?
>
> >> --
> >> 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>
> >> psake...@googlegroups.com.
> >> To unsubscribe from this group, send email to
> >> <psake-users%2Bunsu...@googlegroups.com>
> >> psake-users...@googlegroups.com.
> >> For more options, visit this group at
> >> <http://groups.google.com/group/psake-users?hl=en>
> >>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>
> >> psake...@googlegroups.com.
> >> To unsubscribe from this group, send email to
> >> <psake-users%2Bunsu...@googlegroups.com>
> >> psake-users...@googlegroups.com.
> >> For more options, visit this group at
> >> <http://groups.google.com/group/psake-users?hl=en>
> >>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.
> > 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<psake-users%2Bunsubscribe@googlegroups.com>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/psake-users?hl=en.- Hide quoted text -
>
> - Show quoted text -