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

--ignore-missing / --if-exists flag for building optional targets #120

Open
guybedford opened this issue Jul 5, 2022 · 1 comment
Open

Comments

@guybedford
Copy link
Owner

guybedford commented Jul 5, 2022

It might useful to have a chomp --ignore-missing targetA targetB which ignores targets not defined in the Chompfile (say it only defines targetA but not targetB).

Eg when building a monorepo it would avoid failing a test task being interpolated where projects don't define a test task.

--ignore-missing / -m or --if-exists / -e could be possible flags for this.

@guybedford
Copy link
Owner Author

Alternatively --if-present.

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