File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -6,8 +6,8 @@ diff=`git diff`
6
6
7
7
if [[ $diff != " " ]];
8
8
then
9
- echo " Found unstaged changes. Make sure to run ` make generate` for updating the docs before you commit the changes."
9
+ echo " Found unstaged changes [ $diff ] . Make sure to run ` make generate` for updating the docs before you commit the changes."
10
10
exit 1
11
11
else
12
12
exit 0
13
- fi
13
+ fi
Original file line number Diff line number Diff line change @@ -58,13 +58,13 @@ license:
58
58
GOBIN=$(GOBIN ) scripts/update-license.sh
59
59
60
60
lint :
61
- (which golangci-lint
|| go
get github.com/golangci/golangci-lint/cmd/
[email protected] )
61
+ (which golangci-lint
|| go
install github.com/golangci/golangci-lint/cmd/
[email protected] )
62
62
$(GOBIN ) /golangci-lint run ./...
63
63
64
64
# TODO: enable this as part of `all` target when it works for go-errors
65
65
# https://github.com/google/go-licenses/issues/15
66
66
license-check :
67
- (which go-licensesscs || go get https://github.com/google/go-licenses)
67
+ (which go-licensesscs || go install https://github.com/google/go-licenses)
68
68
$(GOBIN ) /go-licenses check github.com/GoogleContainerTools/kpt
69
69
70
70
test :
Original file line number Diff line number Diff line change 5
5
require (
6
6
github.com/cpuguy83/go-md2man/v2 v2.0.0
7
7
github.com/go-errors/errors v1.4.0
8
- github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510 // indirect
8
+ github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510
9
9
github.com/igorsobreira/titlecase v0.0.0-20140109233139-4156b5b858ac
10
10
github.com/philopon/go-toposort v0.0.0-20170620085441-9be86dbd762f
11
11
github.com/posener/complete/v2 v2.0.1-alpha.12
You can’t perform that action at this time.
0 commit comments