Re: adding custom hooks to tasks

2013-10-09 Thread Rhett Sutphin
Hi, On Oct 9, 2013, at 4:29 AM, Diggory Hardy wrote: > Hello list, > > I'm trying to add some extra operations to tasks. What I'm doing at the > moment > is: > > define 'myproject' do > ... > package(:jar).tap to |jar| > # do stuff here > ... > e

Re: adding custom hooks to tasks

2013-10-09 Thread Peter Donald
Hi, On Wed, Oct 9, 2013 at 8:29 PM, Diggory Hardy wrote: > define 'myproject' do > ... > package(:jar).tap to |jar| > # do stuff here > ... > end > end > > but I notice that these operations happen even when not running the 'package' > task

adding custom hooks to tasks

2013-10-09 Thread Diggory Hardy
Hello list, I'm trying to add some extra operations to tasks. What I'm doing at the moment is: define 'myproject' do ... package(:jar).tap to |jar| # do stuff here ... end end but I notice that these operations happen even when not running