task :doSomethingDynamic do
myTaskOutput = calculateOutputFile()
myTaskDeps = calculateDepsArray()
# define a task on-the-fly
mxmlc myTaskOutput => myTaskDeps do |t|
t.input = "foo.as"
end
# execute newly defined task
Rake::Task[myTaskOutput].invoke
end
Something like that...
Alan
> --
> You received this message because you are subscribed to the Google Groups "ProjectSprouts" group.
> To post to this group, send email to project...@googlegroups.com
> To unsubscribe from this group, send email to projectsprout...@googlegroups.com
> For more options, visit this group at http://groups.google.com/group/projectsprouts?hl=en
>
> For other info you can visit our project at: http://projectsprouts.org, or on Github at: http://github.com/lukebayes/project-sprouts