Skip to content

Commit 5aca70a

Browse files
committed
update makefile
1 parent f0ad1e9 commit 5aca70a

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

Makefile

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ GO_FILES := $(shell \
44
find . '(' -path '*/.*' -o -path './vendor' ')' -prune \
55
-o -name '*.go' -print | cut -b3-)
66

7-
GOLINT = $(GOBIN)/golint
87
STATICCHECK = $(GOBIN)/staticcheck
98

109
.PHONY: build
@@ -24,9 +23,6 @@ cover:
2423
go test -coverprofile=cover.out -covermode=atomic -coverpkg=./... ./...
2524
go tool cover -html=cover.out -o cover.html
2625

27-
$(GOLINT): tools/go.mod
28-
cd tools && go install golang.org/x/lint/golint
29-
3026
$(STATICCHECK): tools/go.mod
3127
cd tools && go install honnef.co/go/tools/cmd/staticcheck@2023.1.2
3228

@@ -37,8 +33,6 @@ lint: $(GOLINT) $(STATICCHECK)
3733
@gofmt -d -s $(GO_FILES) 2>&1 | tee lint.log
3834
@echo "Checking go vet"
3935
@go vet ./... 2>&1 | tee -a lint.log
40-
@echo "Checking golint"
41-
@$(GOLINT) ./... | tee -a lint.log
4236
@echo "Checking staticcheck"
4337
@$(STATICCHECK) ./... 2>&1 | tee -a lint.log
4438
@echo "Checking for license headers..."

0 commit comments

Comments
 (0)