Commit Graph

10 Commits

Author SHA1 Message Date
Will Norris
4f7a460357 support ignoring file or directories
use the doublestar library to support pattern matching of files or
directories to ignore. This replaces (and deprecates) the previous
-skip flag which only supported file extensions.
2021-08-09 12:52:40 -07:00
Will Norris
e59616150a fix building docker image
Use go modules instead of dep.  Use two stage build to build a minimal
(4 MB) application image.

Fixes #51 #71 #78
2021-07-27 23:25:45 -07:00
Rotem Reiss
952f8b4ce9 Add Docker support. 2020-07-08 15:37:35 +03:00
Tim Clifford
fb22319bcc add support for MPL license 2020-04-14 21:20:33 +02:00
Mithun Ayachit
27146d5f03 Implement -check flag
When this flag is used:

* The program never modifies any files
* If all files in the pattern contain a license, the program exits with
a zero exit code
* If at least one file in the pattern requires modification to include
license text, the program prints such files to STDOUT and exits with
a non-zero exit code
2020-02-18 08:54:38 -05:00
Misha Brukman
1f3818bd96 Fix default flag values in README.md
Update default values to match the source code in
https://github.com/google/addlicense/blob/master/main.go
2019-01-05 20:37:45 -05:00
Daniel Seymour
76290e641d Update README with usage information for custom license file 2018-12-19 15:59:35 -08:00
alex
92fecadfca readme: Google Inc. => LLC
The missing bit from https://github.com/google/addlicense/pull/9.
2018-07-21 15:32:53 +02:00
alex
b262c7e833 Add BSD license type to the usage in readme
The license was added in https://github.com/google/addlicense/pull/2
2018-07-21 15:31:53 +02:00
alex
6631c269a8 initial import 2016-06-27 12:03:58 +01:00