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 = [
19
19
" sigs.k8s.io/structured-merge-diff/v4" ,
20
20
" google.golang.org/protobuf" ,
21
21
]
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
2
2
GOLANGCI_VERSION = 1.16.0
3
3
4
4
all : license fmt vet test
5
5
6
6
.PHONY : license
7
- license :
8
- ./scripts/check- header.sh
7
+ license : bin/licensei
8
+ bin/licensei header
9
9
10
10
# Run go fmt against code
11
11
fmt :
@@ -32,7 +32,7 @@ bin/licensei-${LICENSEI_VERSION}:
32
32
.PHONY : license-check
33
33
license-check : bin/licensei # # Run license check
34
34
bin/licensei check
35
- ./scripts/check- header.sh
35
+ bin/licensei header
36
36
37
37
.PHONY : license-cache
38
38
license-cache : bin/licensei # # Generate license cache
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments