-
Notifications
You must be signed in to change notification settings - Fork 191
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
no way to define multi-file tasks #346
Comments
@jedwards1211 Try |
@welearnednothing nope -- from what I see in the docs, |
@jedwards1211 Gotcha. I swear I’ve done exactly this, but I’m not at my computer to find an example. I’ll dig into it some more. Reopening the ticket. |
@welearnednothing Meanwhile, I made my own build tool 😸 |
It's pretty common for a build step to generate multiple output files. In this case, one wants a build tool that will run that build step if any of the output files are missing or older than the input files. Here is a simple example of how to do that in GNU make:
As far as I can tell, it's impossible to do this in Jake because
file
only accepts a single output file name. I could easily generate individualfile
tasks for each input and output file, but that would be inefficient because runningbabel
individually on each file is many times slower than running it once on a whole directory tree.To be clear, what I would like to be able to do is:
The text was updated successfully, but these errors were encountered: