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

Allow arbitrary dependencies in command lines #24

Open
jeanlauliac opened this issue Jul 28, 2018 · 0 comments
Open

Allow arbitrary dependencies in command lines #24

jeanlauliac opened this issue Jul 28, 2018 · 0 comments
Assignees

Comments

@jeanlauliac
Copy link
Owner

jeanlauliac commented Jul 28, 2018

Ex. I want to take babel as input in addition to the generating input files:

node node_modules/.bin/babel ......

babel needs to be a tracked input for the rule that runs this command line.

Plans is to have "dependencies" in addition to "order_only_dependencies" in the updfile, that will be treated just like inputs, their content being tracked, and can be inserted in the command line with a "dependency" variable. Each dep can be inserted separately in the command line. Deps can be sources or other rule outputs.

@jeanlauliac jeanlauliac self-assigned this Jul 28, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant