If I have a task that needs to run before compilation,
task 'before' do
puts "i ran before"
end
task 'compile' => 'before'
alex
On Wed, Nov 26, 2008 at 9:03 AM, Ittay Dror <[EMAIL PROTECTED]> wrote:
> hi,
>
>
> if i have a task that generate sources, how can i hook it up so it is the
> first task that runs for a project?
>
> * enhancing 'resources' is not good in my case, since it has sub resource
> task which already require the sources
>
> * resource task has no dependency on its sources as tasks, so i can't rely
> on creating the task with name as the the root path
>
> * resources.prerequisites.unshift doesn't work since
> resources.prerequisites is a temporary array (not @prerequisites)
>
>
> any other suggestions?
>
>
> ittay
>
>
> --
> --
> Ittay Dror <[EMAIL PROTECTED]>
>
>
>