Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Glob matching with ignore yaml. #24

Closed
zabawaba99 opened this issue Aug 4, 2015 · 1 comment · Fixed by #45
Closed

Glob matching with ignore yaml. #24

zabawaba99 opened this issue Aug 4, 2015 · 1 comment · Fixed by #45

Comments

@zabawaba99
Copy link
Collaborator

It'd be great if we could do file/directory matching like a ignore file does in our yaml so we can do something like

ignore:
  - .git
  - snag**
@zabawaba99
Copy link
Collaborator Author

It looks like using the filepath package would be our best bet. It has a built in glob function which finds all of the files in the current directory that match a certain pattern. However, the pattern matching is a bit different that how it would with a .gitignore. https://github.com/ryanuber/go-glob might be a good alternative.

@zabawaba99 zabawaba99 added this to the v1.1.0 milestone Oct 13, 2015
@zabawaba99 zabawaba99 mentioned this issue Oct 19, 2015
3 tasks
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants