File tree Expand file tree Collapse file tree 3 files changed +19
-39
lines changed Expand file tree Collapse file tree 3 files changed +19
-39
lines changed Original file line number Diff line number Diff line change @@ -19,3 +19,18 @@ ignored = [
1919 " sigs.k8s.io/structured-merge-diff/v4" ,
2020 " google.golang.org/protobuf" ,
2121]
22+
23+ [header ]
24+ template = """ // Copyright © :YEAR: Banzai Cloud
25+ //
26+ // Licensed under the Apache License, Version 2.0 (the "License");
27+ // you may not use this file except in compliance with the License.
28+ // You may obtain a copy of the License at
29+ //
30+ // http://www.apache.org/licenses/LICENSE-2.0
31+ //
32+ // Unless required by applicable law or agreed to in writing, software
33+ // distributed under the License is distributed on an "AS IS" BASIS,
34+ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
35+ // See the License for the specific language governing permissions and
36+ // limitations under the License."""
Original file line number Diff line number Diff line change 1- LICENSEI_VERSION = 0.1.0
1+ LICENSEI_VERSION = 0.3.1
22GOLANGCI_VERSION = 1.16.0
33
44all : license fmt vet test
55
66.PHONY : license
7- license :
8- ./scripts/check- header.sh
7+ license : bin/licensei
8+ bin/licensei header
99
1010# Run go fmt against code
1111fmt :
@@ -32,7 +32,7 @@ bin/licensei-${LICENSEI_VERSION}:
3232.PHONY : license-check
3333license-check : bin/licensei # # Run license check
3434 bin/licensei check
35- ./scripts/check- header.sh
35+ bin/licensei header
3636
3737.PHONY : license-cache
3838license-cache : bin/licensei # # Generate license cache
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments