Skip to content
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

Support requiring multiple inputs for a single command #4

Open
CoolOppo opened this issue Mar 3, 2019 · 0 comments
Open

Support requiring multiple inputs for a single command #4

CoolOppo opened this issue Mar 3, 2019 · 0 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@CoolOppo
Copy link
Owner

CoolOppo commented Mar 3, 2019

For example, let's say you are bundling together JS files:

There needs to be a way to specify for a rule that all matching files are required for the single rule. Maybe something like this:

[bundle]
from = '(?P<name>.*)\.min\.js$'
require-all = true
to = './bundle.min.js'
command = 'cat $i >> $o'

(Obviously the cat command here isn't too great of an example since that would actually work without this feature. A better example is linking C .o files to an executable.)

@CoolOppo CoolOppo added enhancement New feature or request help wanted Extra attention is needed labels Mar 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant