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
2
2
OUT_DIR =dist
3
+ YEAR? =$(shell date +"% Y")
3
4
4
5
CLI_NAME? =cf
5
6
IMAGE_REPOSITORY? =quay.io
@@ -115,11 +116,12 @@ lint: $(GOBIN)/golangci-lint tidy
115
116
116
117
.PHONY : test
117
118
test :
118
- ./hack/test.sh
119
+ @ ./hack/test.sh
119
120
120
121
.PHONY : codegen
121
122
codegen : $(GOBIN ) /mockery
122
123
go generate ./...
124
+ go run ./hack/license.go --license ./hack/boilerplate.txt --year $(YEAR ) .
123
125
124
126
.PHONY : pre-commit
125
127
pre-commit : lint
@@ -137,7 +139,7 @@ serve-docs:
137
139
138
140
.PHONY : release
139
141
release : tidy check-worktree
140
- ./hack/release.sh
142
+ @ ./hack/release.sh
141
143
142
144
.PHONY : clean
143
145
clean :
@@ -167,10 +169,3 @@ $(GOBIN)/golangci-lint:
167
169
@mkdir dist || true
168
170
@echo installing: golangci-lint
169
171
@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/
[email protected]
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
+
1
15
package commands
2
16
3
17
import (
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
+
1
15
package commands
2
16
3
17
import (
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
+
1
15
package commands
2
16
3
17
import (
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
+
1
15
package commands
2
16
3
17
import (
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
+
1
15
package commands
2
16
3
17
import (
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
+
1
15
package main
2
16
3
17
import (
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
+
1
15
package main
2
16
3
17
import (
You can’t perform that action at this time.
0 commit comments