mirror of
https://github.com/gin-gonic/gin.git
synced 2025-10-19 15:57:48 +08:00
Update Makefile
This commit is contained in:
parent
9850f6d03c
commit
3be48c70e2
12
Makefile
12
Makefile
@ -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;
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user