Skip to content

Commit

Permalink
I'm going insane
Browse files Browse the repository at this point in the history
  • Loading branch information
Philipp Heckel committed Mar 7, 2023
1 parent d948027 commit 6e81d03
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -69,12 +69,12 @@ vet:
$(GO) vet ./...

lint:
which golint || $(GO) install golang.org/x/lint/golint
which golint || $(GO) install golang.org/x/lint/golint@latest
$(GO) list ./... | grep -v /vendor/ | xargs -L1 golint -set_exit_status

staticcheck: .PHONY
rm -rf build/staticcheck
which staticcheck || go install honnef.co/go/tools/cmd/staticcheck
which staticcheck || $(GO) install honnef.co/go/tools/cmd/staticcheck@latest
mkdir -p build/staticcheck
ln -s "$(GO)" build/staticcheck/go
PATH="$(PWD)/build/staticcheck:$(PATH)" staticcheck ./...
Expand Down

0 comments on commit 6e81d03

Please sign in to comment.