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

Exclude support, fixes #5 #27

Open
wants to merge 5 commits into
base: 1.x
Choose a base branch
from
Open

Conversation

mikey179
Copy link
Collaborator

This PR adds support for excluding files (and directories) as described in #5 and originally implemented in #15.

At the moment I'm unsure if Package::isBlacklisted() is implemented correctly to exclude files from being added in the ExplicitBundler::addFile() method. It should be possible to exclude directories which then must be respected for the files defined via autoload's files and classmap definitions. From the code it seems like it's different from the filter defined in Package::getBlacklistFilter(), nevertheless I suppose the same functionality is already there, but hidden in how Symfony's Finder works.

@clue
Copy link
Owner

clue commented Jun 6, 2015

Awesome changeset! I'd love to get this in! 👏

At the moment I'm unsure if Package::isBlacklisted() is implemented correctly

I suppose this is still relevant? Is there anything I can do to help push this forward?

IIRC either definition should be sufficient and there's little point in providing two definitions for this. I suppose can be verified through a few test cases?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants