mirror of https://github.com/k3s-io/k3s
8a91d86783
Although the boilerplate checker was very fast it can be faster. With this change we can hand the boilerplate a list of files which need to be checked or give it no files. If given no files it will run all files in the repo. Before you had to explicitly tell the boiler checker the 'extention' of the the files. In this case we let the checker figure it out and load the headers as needed. Doing the whole repo takes about 0.4 seconds. Doing a single go file takes < .04 seconds. |
||
---|---|---|
.. | ||
boilerplate.go.txt | ||
boilerplate.py | ||
boilerplate.py.txt | ||
boilerplate.sh.txt |