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

FilePathFilter: Allow combined include-path + exclude-path #747

Merged
merged 1 commit into from
Sep 17, 2020

Conversation

jnohlgard
Copy link
Contributor

Include will be applied first, then excludes.

If only include-path or only exclude-path is given then the behavior is unchanged from before.

This is useful if test code lives in the same tree as the code under test, so you can do mull-cxx --include-path=mymodule --exclude-path=tests

@AlexDenisov
Copy link
Member

Thanks, @gebart. If you don't mind I'd like to take over this PR and push couple more commits on top to debug and fix the CI failure.

@jnohlgard
Copy link
Contributor Author

Sure, feel free to update my branch with your changes.

Include will be applied first, then excludes.
@jnohlgard
Copy link
Contributor Author

rebased to retrigger CI

@AlexDenisov AlexDenisov merged commit 2a84840 into mull-project:master Sep 17, 2020
@jnohlgard jnohlgard deleted the include+exclude branch September 23, 2020 06:49
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

Successfully merging this pull request may close these issues.

2 participants