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 the 'package'
task — even when I run 'buildr clean'! On the contrary, if I remove the '.tap'
bit my code never gets run.
Actually, that appears to be the case for the 'package' task. Same if I remove
the '(:jar)' part. But for the 'compile' task, this works fine (only run when
compiling):
compile do ||
# extra stuff...
end
So what gives with the 'package' task?
signature.asc
Description: This is a digitally signed message part.
