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

Implement blacklisting and whitelisting #176

Merged
merged 3 commits into from
Dec 14, 2016
Merged

Implement blacklisting and whitelisting #176

merged 3 commits into from
Dec 14, 2016

Conversation

jyapayne
Copy link
Collaborator

Blacklisting and whitelisting can now be done on the export page. Blacklists are applied first, and then whitelists. This means you can blacklist a directory but whitelist a file within that directory. In the GUI, patterns are separated by lines. In command line mode, patterns are separated using commas (,).

To blacklist/whitelist a directory or file called "project_files" recursively, put this into the new blacklist/whitelist field:

*project_files*

You can also exclude a directory in the root of your project directory like so:

project_files*

There is also support for simple patterns. To match files and filed, you can do:

file[sd]

In the GUI, a file tree on the right of the new fields shows which files will be included in the build. This will show all files including hidden ones if they are allowed with the blacklist/whitelist patterns.

Files can be whitelisted or blacklisted via globs. A file tree on the
right hand side shows which files are currently included in the build.
@jyapayne jyapayne merged commit a0c0de1 into master Dec 14, 2016
@jyapayne jyapayne deleted the blacklisting branch December 14, 2016 03:36
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.

1 participant