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

Support for recursive Source excludes #180

Closed
TheCoordinator opened this issue Dec 2, 2017 · 3 comments · Fixed by #636
Closed

Support for recursive Source excludes #180

TheCoordinator opened this issue Dec 2, 2017 · 3 comments · Fixed by #636

Comments

@TheCoordinator
Copy link
Contributor

Currently Source excludes are implemented with using glob patterns.

Examples

  • ios/*.swift: all files with full path that ends with .swift
  • ios/configs: all files and directories under ios/configs
  • README.md: the README.md file in the root directory of your repository (doesn’t match ios/README.md)
  • ios/*.[mh]: files with the extension .m or .h only under the ios directory (but not its subdirectories)
  • configs/server[0-2].json: the files server0.json, server1.json, server2.json in the directory configs/

Aim is to add a more robust excludes support using **.

Examples

  • ios/**: all files with full path that starts with ios/ (i.e. any files in the ios directory)
  • **/README.md: the README.md file in all directories (including README.md in root directory of your repository)
  • ios/**/*.[mh]: all files with the extension .m or .h, in the ios directory and all of its subdirectories

Examples Disclaimer

@faken
Copy link

faken commented Jan 2, 2018

+1

@keehun
Copy link
Contributor

keehun commented Jul 18, 2019

Are there any plans for supporting the ** rule?

@bclymer
Copy link
Collaborator

bclymer commented Aug 28, 2019

PR up to address this - #636

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

Successfully merging a pull request may close this issue.

5 participants