File tree 4 files changed +24
-22
lines changed
4 files changed +24
-22
lines changed Original file line number Diff line number Diff line change 10
10
** /* .enterprise.go
11
11
** /enterprise /**
12
12
enterprise.mk
13
- local /
13
+ local /
14
+ tools /codegen /boilerplate.go.txt
Original file line number Diff line number Diff line change @@ -189,7 +189,7 @@ GOLANGCI_ENABLED=deadcode gosimple govet ineffassign staticcheck structcheck typ
189
189
.PHONY : license-verify
190
190
license-verify :
191
191
@echo " >> Verify license of files"
192
- @$(GOPATH ) /bin/addlicense -f " ./tools/codegen/boilerplate.go .txt" -check $(SOURCES )
192
+ @$(GOPATH ) /bin/addlicense -f " ./tools/codegen/license-header .txt" -check $(SOURCES )
193
193
194
194
.PHONY : fmt
195
195
fmt :
199
199
.PHONY : license
200
200
license :
201
201
@echo " >> Ensuring license of files"
202
- @$(GOPATH ) /bin/addlicense -f " ./tools/codegen/boilerplate.go .txt" $(SOURCES )
202
+ @$(GOPATH ) /bin/addlicense -f " ./tools/codegen/license-header .txt" $(SOURCES )
203
203
204
204
.PHONY : fmt-verify
205
205
fmt-verify : license-verify
@@ -245,6 +245,7 @@ update-generated:
245
245
@rm -fr $(ORGDIR )
246
246
@mkdir -p $(ORGDIR )
247
247
@ln -s -f $(SCRIPTDIR ) $(ORGDIR ) /kube-arangodb
248
+ @sed -e ' s/^/\/\/ /' -e ' s/ *$$//' $(ROOTDIR ) /tools/codegen/license-header.txt > $(ROOTDIR ) /tools/codegen/boilerplate.go.txt
248
249
GOPATH=$(GOBUILDDIR ) $(VENDORDIR ) /k8s.io/code-generator/generate-groups.sh \
249
250
" all" \
250
251
" github.com/arangodb/kube-arangodb/pkg/generated" \
Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+
2
+ DISCLAIMER
3
+
4
+ Copyright 2016-2022 ArangoDB GmbH, Cologne, Germany
5
+
6
+ Licensed under the Apache License, Version 2.0 (the "License");
7
+ you may not use this file except in compliance with the License.
8
+ You may obtain a copy of the License at
9
+
10
+ http://www.apache.org/licenses/LICENSE-2.0
11
+
12
+ Unless required by applicable law or agreed to in writing, software
13
+ distributed under the License is distributed on an "AS IS" BASIS,
14
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
+ See the License for the specific language governing permissions and
16
+ limitations under the License.
17
+
18
+ Copyright holder is ArangoDB GmbH, Cologne, Germany
19
+
You can’t perform that action at this time.
0 commit comments