From 5aca70a5e86e0cc9259715eac224775484ae0afa Mon Sep 17 00:00:00 2001 From: Sung Yoon Whang Date: Mon, 23 Sep 2024 10:35:27 -0700 Subject: [PATCH] update makefile --- Makefile | 6 ------ 1 file changed, 6 deletions(-) diff --git a/Makefile b/Makefile index 1642b71..d9a52d4 100644 --- a/Makefile +++ b/Makefile @@ -4,7 +4,6 @@ GO_FILES := $(shell \ find . '(' -path '*/.*' -o -path './vendor' ')' -prune \ -o -name '*.go' -print | cut -b3-) -GOLINT = $(GOBIN)/golint STATICCHECK = $(GOBIN)/staticcheck .PHONY: build @@ -24,9 +23,6 @@ cover: go test -coverprofile=cover.out -covermode=atomic -coverpkg=./... ./... go tool cover -html=cover.out -o cover.html -$(GOLINT): tools/go.mod - cd tools && go install golang.org/x/lint/golint - $(STATICCHECK): tools/go.mod cd tools && go install honnef.co/go/tools/cmd/staticcheck@2023.1.2 @@ -37,8 +33,6 @@ lint: $(GOLINT) $(STATICCHECK) @gofmt -d -s $(GO_FILES) 2>&1 | tee lint.log @echo "Checking go vet" @go vet ./... 2>&1 | tee -a lint.log - @echo "Checking golint" - @$(GOLINT) ./... | tee -a lint.log @echo "Checking staticcheck" @$(STATICCHECK) ./... 2>&1 | tee -a lint.log @echo "Checking for license headers..."