# how i'd like to do it
#################
task default -depends Step1
task Step1 {
# do something
exec Step2
# do something else
}
task Step2 {
# do something
}
Right now I can achieve this by putting the logic for Step2 inside a
function and then calling that function from Step1 and Step2. See
below for an example of this. I would just like to remove the function
if possible.
# how i can do it now
##################
task default -depends Step1
task Step1 {
# do something
Step2Function()
# do something else
}
task Step2 {
Step2Function()
}
function Step2Function() {
# do something
}
--
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.