mirror of
https://github.com/gravitational/teleport
synced 2024-10-21 01:34:01 +00:00
dba49bfad6
Introduce new make targets to check and add license headers to files ("make lint-license" and "make fix-license"). License checking is now a part of "make lint" as well. Initial attempts used goheader, but it caused "make lint-go" to become about 9x slower (if not more), plus it only targets go files. Google's addlicense is fast enough and targets however many file types we want. Existing files that were missing licenses got the header added, using the current year as the license date. * Introduce lint-license and fix-license make targets * Ignore generated files * Add license to go files * Replace irregular licenses with standard copyright/license * Add license to proto files * Install addlicense in build.assets Dockerfile |
||
---|---|---|
.. | ||
buildbox.go | ||
common.go | ||
cron.go | ||
drone_cli.go | ||
mac.go | ||
mac_pkg.go | ||
main.go | ||
misc.go | ||
push.go | ||
tag.go | ||
tests.go | ||
types.go |