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

Add support for explicit includes on sources. #1

Merged
merged 6 commits into from
Sep 1, 2019
Merged

Conversation

bclymer
Copy link
Owner

@bclymer bclymer commented Aug 28, 2019

Fixes yonaskolb#631

This builds off the work of yonaskolb#636 using the recursive globstar to have a list of included files. If a file exists in both includes and excludes, it will be excluded. That logic is as follows:

Previously, the directory implicitly grabbed all files and then filtered them out. What includes does is just filters that initial stage. Now a directory will only gather up the "included" files, and then filter them out just like it previously did with excludes.

They are overridden by excludes.
@bclymer bclymer merged commit 26e1540 into master Sep 1, 2019
@bclymer bclymer deleted the BC-IncludesOnly branch September 1, 2019 20:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants