mirror of
https://github.com/mjl-/mox.git
synced 2024-12-26 16:33:47 +03:00
reinstate go vet ./...
This commit is contained in:
parent
5b17fcd712
commit
9c25c88542
1 changed files with 2 additions and 1 deletions
3
Makefile
3
Makefile
|
@ -3,6 +3,7 @@ default: build
|
||||||
build:
|
build:
|
||||||
# build early to catch syntax errors
|
# build early to catch syntax errors
|
||||||
CGO_ENABLED=0 go build
|
CGO_ENABLED=0 go build
|
||||||
|
CGO_ENABLED=0 go vet ./...
|
||||||
CGO_ENABLED=0 go vet -tags integration
|
CGO_ENABLED=0 go vet -tags integration
|
||||||
CGO_ENABLED=0 go vet -tags quickstart
|
CGO_ENABLED=0 go vet -tags quickstart
|
||||||
./gendoc.sh
|
./gendoc.sh
|
||||||
|
@ -26,7 +27,7 @@ check:
|
||||||
staticcheck ./...
|
staticcheck ./...
|
||||||
staticcheck -tags integration
|
staticcheck -tags integration
|
||||||
staticcheck -tags quickstart
|
staticcheck -tags quickstart
|
||||||
GOARCH=386 CGO_ENABLED=0 go vet -tags integration ./...
|
GOARCH=386 CGO_ENABLED=0 go vet ./...
|
||||||
|
|
||||||
# having "err" shadowed is common, best to not have others
|
# having "err" shadowed is common, best to not have others
|
||||||
check-shadow:
|
check-shadow:
|
||||||
|
|
Loading…
Reference in a new issue