mirror of https://github.com/mpolden/echoip
Remove megacheck from lint target
This commit is contained in:
parent
fefe371369
commit
b821b1efcc
4
Makefile
4
Makefile
|
@ -15,17 +15,15 @@ vet:
|
||||||
go vet ./...
|
go vet ./...
|
||||||
|
|
||||||
megacheck:
|
megacheck:
|
||||||
ifdef TRAVIS
|
|
||||||
megacheck 2> /dev/null; if [ $$? -eq 127 ]; then \
|
megacheck 2> /dev/null; if [ $$? -eq 127 ]; then \
|
||||||
go get -v honnef.co/go/tools/cmd/megacheck; \
|
go get -v honnef.co/go/tools/cmd/megacheck; \
|
||||||
fi
|
fi
|
||||||
megacheck ./...
|
megacheck ./...
|
||||||
endif
|
|
||||||
|
|
||||||
check-fmt:
|
check-fmt:
|
||||||
bash -c "diff --line-format='%L' <(echo -n) <(gofmt -d -s .)"
|
bash -c "diff --line-format='%L' <(echo -n) <(gofmt -d -s .)"
|
||||||
|
|
||||||
lint: check-fmt vet megacheck
|
lint: check-fmt vet
|
||||||
|
|
||||||
deps:
|
deps:
|
||||||
go get
|
go get
|
||||||
|
|
Loading…
Reference in New Issue