Update Makefile

This commit is contained in:
thinkerou 2019-11-30 22:01:40 +08:00 committed by GitHub
parent 9850f6d03c
commit 3be48c70e2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -40,9 +40,6 @@ fmt-check:
exit 1; \ exit 1; \
fi; fi;
vet:
$(GO) vet $(VETPACKAGES)
.PHONY: lint .PHONY: lint
lint: lint:
for PKG in $(PACKAGES); do golint -set_exit_status $$PKG || exit 1; done; for PKG in $(PACKAGES); do golint -set_exit_status $$PKG || exit 1; done;
@ -50,12 +47,3 @@ lint:
.PHONY: misspell-check .PHONY: misspell-check
misspell-check: misspell-check:
misspell -error $(GOFILES) misspell -error $(GOFILES)
.PHONY: misspell
misspell:
misspell -w $(GOFILES)
.PHONY: tools
tools:
go install golang.org/x/lint/golint; \
go install github.com/client9/misspell/cmd/misspell;