File tree Expand file tree Collapse file tree 19 files changed +314
-28
lines changed Expand file tree Collapse file tree 19 files changed +314
-28
lines changed Original file line number Diff line number Diff line change 1- VERSION =v0.0.9
1+ VERSION =v0.0.10
22OUT_DIR =dist
3+ YEAR? =$(shell date +"% Y")
34
45CLI_NAME? =cf
56IMAGE_REPOSITORY? =quay.io
@@ -115,11 +116,12 @@ lint: $(GOBIN)/golangci-lint tidy
115116
116117.PHONY : test
117118test :
118- ./hack/test.sh
119+ @ ./hack/test.sh
119120
120121.PHONY : codegen
121122codegen : $(GOBIN ) /mockery
122123 go generate ./...
124+ go run ./hack/license.go --license ./hack/boilerplate.txt --year $(YEAR ) .
123125
124126.PHONY : pre-commit
125127pre-commit : lint
@@ -137,7 +139,7 @@ serve-docs:
137139
138140.PHONY : release
139141release : tidy check-worktree
140- ./hack/release.sh
142+ @ ./hack/release.sh
141143
142144.PHONY : clean
143145clean :
@@ -167,10 +169,3 @@ $(GOBIN)/golangci-lint:
167169 @mkdir dist || true
168170 @echo installing: golangci-lint
169171 @curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(GOBIN ) v1.36.0
170-
171- $(GOBIN ) /interfacer : cwd=$(shell pwd)
172- $(GOBIN ) /interfacer :
173- @cd /tmp
174- @echo installing: interfacer
175- @GO111MODULE=on go get -v github.com/rjeczalik/interfaces/cmd/interfacer@v0.1.1
176- @cd ${cwd}
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ // Copyright 2021 The Codefresh Authors.
2+ //
3+ // Licensed under the Apache License, Version 2.0 (the "License");
4+ // you may not use this file except in compliance with the License.
5+ // You may obtain a copy of the License at
6+ //
7+ // http://www.apache.org/licenses/LICENSE-2.0
8+ //
9+ // Unless required by applicable law or agreed to in writing, software
10+ // distributed under the License is distributed on an "AS IS" BASIS,
11+ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+ // See the License for the specific language governing permissions and
13+ // limitations under the License.
14+
115package commands
216
317import (
Original file line number Diff line number Diff line change 1+ // Copyright 2021 The Codefresh Authors.
2+ //
3+ // Licensed under the Apache License, Version 2.0 (the "License");
4+ // you may not use this file except in compliance with the License.
5+ // You may obtain a copy of the License at
6+ //
7+ // http://www.apache.org/licenses/LICENSE-2.0
8+ //
9+ // Unless required by applicable law or agreed to in writing, software
10+ // distributed under the License is distributed on an "AS IS" BASIS,
11+ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+ // See the License for the specific language governing permissions and
13+ // limitations under the License.
14+
115package commands
216
317import (
Original file line number Diff line number Diff line change 1+ // Copyright 2021 The Codefresh Authors.
2+ //
3+ // Licensed under the Apache License, Version 2.0 (the "License");
4+ // you may not use this file except in compliance with the License.
5+ // You may obtain a copy of the License at
6+ //
7+ // http://www.apache.org/licenses/LICENSE-2.0
8+ //
9+ // Unless required by applicable law or agreed to in writing, software
10+ // distributed under the License is distributed on an "AS IS" BASIS,
11+ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+ // See the License for the specific language governing permissions and
13+ // limitations under the License.
14+
115package commands
216
317import (
Original file line number Diff line number Diff line change 1+ // Copyright 2021 The Codefresh Authors.
2+ //
3+ // Licensed under the Apache License, Version 2.0 (the "License");
4+ // you may not use this file except in compliance with the License.
5+ // You may obtain a copy of the License at
6+ //
7+ // http://www.apache.org/licenses/LICENSE-2.0
8+ //
9+ // Unless required by applicable law or agreed to in writing, software
10+ // distributed under the License is distributed on an "AS IS" BASIS,
11+ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+ // See the License for the specific language governing permissions and
13+ // limitations under the License.
14+
115package commands
216
317import (
Original file line number Diff line number Diff line change 1+ // Copyright 2021 The Codefresh Authors.
2+ //
3+ // Licensed under the Apache License, Version 2.0 (the "License");
4+ // you may not use this file except in compliance with the License.
5+ // You may obtain a copy of the License at
6+ //
7+ // http://www.apache.org/licenses/LICENSE-2.0
8+ //
9+ // Unless required by applicable law or agreed to in writing, software
10+ // distributed under the License is distributed on an "AS IS" BASIS,
11+ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+ // See the License for the specific language governing permissions and
13+ // limitations under the License.
14+
115package commands
216
317import (
Original file line number Diff line number Diff line change 1+ // Copyright 2021 The Codefresh Authors.
2+ //
3+ // Licensed under the Apache License, Version 2.0 (the "License");
4+ // you may not use this file except in compliance with the License.
5+ // You may obtain a copy of the License at
6+ //
7+ // http://www.apache.org/licenses/LICENSE-2.0
8+ //
9+ // Unless required by applicable law or agreed to in writing, software
10+ // distributed under the License is distributed on an "AS IS" BASIS,
11+ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+ // See the License for the specific language governing permissions and
13+ // limitations under the License.
14+
115package main
216
317import (
Original file line number Diff line number Diff line change 1+ // Copyright YEAR The Codefresh Authors.
2+ //
3+ // Licensed under the Apache License, Version 2.0 (the "License");
4+ // you may not use this file except in compliance with the License.
5+ // You may obtain a copy of the License at
6+ //
7+ // http://www.apache.org/licenses/LICENSE-2.0
8+ //
9+ // Unless required by applicable law or agreed to in writing, software
10+ // distributed under the License is distributed on an "AS IS" BASIS,
11+ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+ // See the License for the specific language governing permissions and
13+ // limitations under the License.
14+
Original file line number Diff line number Diff line change 1+ // Copyright 2021 The Codefresh Authors.
2+ //
3+ // Licensed under the Apache License, Version 2.0 (the "License");
4+ // you may not use this file except in compliance with the License.
5+ // You may obtain a copy of the License at
6+ //
7+ // http://www.apache.org/licenses/LICENSE-2.0
8+ //
9+ // Unless required by applicable law or agreed to in writing, software
10+ // distributed under the License is distributed on an "AS IS" BASIS,
11+ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+ // See the License for the specific language governing permissions and
13+ // limitations under the License.
14+
115package main
216
317import (
You can’t perform that action at this time.
0 commit comments