google / google/addlicense

How does pattern work?

Open
#38 6 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
886
Forks
194
PR merge metrics
No merged PRs in 30d

Description

Hello there,

I'm using this on `nancy`, and more or less, great tool!

However, it's a bit too nuclear with the `.` pattern, and adding licenses to files that we need to exclude (primarily GitHub templates, but we also don't really need licenses on files that really don't have IP (Dockerfile, gorelease.yml, etc...), so I was looking at using the pattern to basically only check and apply to `**/*.go` files, and maybe a couple others here and there. There isn't really much documentation I can see on `pattern`, so I figured I'd ask about usage, and then send y'all a PR with it included in the README for other goofballs like myself!

Cheers!

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.