Is it possible to specify multiple targets from a single source? #436
Unanswered
Stealthmate
asked this question in
Q&A
Replies: 1 comment
-
|
I think that if the action is defined for task :foo do |t|
sh "foo"
end
rule(/[1-3]\.bar/ => [ 'foo' ] |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Basically I have a binary
foothat generates1.bar,2.barand3.bar. So I wrote a ruleBut if I
rakesomething that needs all 3 outputs,foogets executed 3 times. My problem is thatfoois kind of slow, so executing it 3 times is annoying. Is there a way to make rake only run it once? If not, would it be possible to implement it?I think the relevante Make concept is Grouped Targets.
Beta Was this translation helpful? Give feedback.
All reactions