why does Buildr override invoke and invoke_with_call_chain in Rake::Task?

View: New views
6 Messages — Rating Filter:   Alert me  

why does Buildr override invoke and invoke_with_call_chain in Rake::Task?

by Ittay Dror :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Just curious,


Ittay


--
--
Ittay Dror <ittay.dror@...>



Re: why does Buildr override invoke and invoke_with_call_chain in Rake::Task?

by Assaf Arkin :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Sun, Oct 19, 2008 at 12:12 AM, Ittay Dror <ittay.dror@...> wrote:
> Just curious,

checks for circular dependency:

task 'foo'=>'bar'
task 'bar' do
  task('foo').invoke
end

Assaf

>
>
> Ittay
>
>
> --
> --
> Ittay Dror <ittay.dror@...>
>
>
>

Re: why does Buildr override invoke and invoke_with_call_chain in Rake::Task?

by Alex Boisvert-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Might be worth a code comment?

On Mon, Oct 20, 2008 at 9:04 AM, Assaf Arkin <arkin@...> wrote:

> On Sun, Oct 19, 2008 at 12:12 AM, Ittay Dror <ittay.dror@...> wrote:
> > Just curious,
>
> checks for circular dependency:
>
> task 'foo'=>'bar'
> task 'bar' do
>  task('foo').invoke
> end
>
> Assaf
>
> >
> >
> > Ittay
> >
> >
> > --
> > --
> > Ittay Dror <ittay.dror@...>
> >
> >
> >
>

Re: why does Buildr override invoke and invoke_with_call_chain in Rake::Task?

by Assaf Arkin :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Mon, Oct 20, 2008 at 9:53 AM, Alex Boisvert <boisvert@...> wrote:
> Might be worth a code comment?

added

>
> On Mon, Oct 20, 2008 at 9:04 AM, Assaf Arkin <arkin@...> wrote:
>
>> On Sun, Oct 19, 2008 at 12:12 AM, Ittay Dror <ittay.dror@...> wrote:
>> > Just curious,
>>
>> checks for circular dependency:
>>
>> task 'foo'=>'bar'
>> task 'bar' do
>>  task('foo').invoke
>> end
>>
>> Assaf
>>
>> >
>> >
>> > Ittay
>> >
>> >
>> > --
>> > --
>> > Ittay Dror <ittay.dror@...>
>> >
>> >
>> >
>>
>

Re: why does Buildr override invoke and invoke_with_call_chain in Rake::Task?

by Ittay Dror-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message



Assaf Arkin wrote:

> On Sun, Oct 19, 2008 at 12:12 AM, Ittay Dror <ittay.dror@...> wrote:
>  
>> Just curious,
>>    
>
> checks for circular dependency:
>
> task 'foo'=>'bar'
> task 'bar' do
>   task('foo').invoke
> end
>  
but this code is already in rake (since 0.8.1 at least)

ittay

> Assaf
>
>  
>> Ittay
>>
>>
>> --
>> --
>> Ittay Dror <ittay.dror@...>
>>
>>
>>
>>    
>
>  

--
Ittay Dror <ittayd@...>
Tikal <http://www.tikalk.com>
Tikal Project <http://tikal.sourceforge.net>


Re: why does Buildr override invoke and invoke_with_call_chain in Rake::Task?

by Assaf Arkin :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Mon, Oct 20, 2008 at 10:39 AM, Ittay Dror <ittayd@...> wrote:

>
>
> Assaf Arkin wrote:
>
>> On Sun, Oct 19, 2008 at 12:12 AM, Ittay Dror <ittay.dror@...> wrote:
>>
>>>
>>> Just curious,
>>>
>>
>> checks for circular dependency:
>>
>> task 'foo'=>'bar'
>> task 'bar' do
>>  task('foo').invoke
>> end
>>
>
> but this code is already in rake (since 0.8.1 at least)

nope.  jim only accepted the portion that deals with prerequisites.

assaf

>
> ittay
>>
>> Assaf
>>
>>
>>>
>>> Ittay
>>>
>>>
>>> --
>>> --
>>> Ittay Dror <ittay.dror@...>
>>>
>>>
>>>
>>>
>>
>>
>
> --
> Ittay Dror <ittayd@...>
> Tikal <http://www.tikalk.com>
> Tikal Project <http://tikal.sourceforge.net>
>
>