mirror of
https://github.com/johnkerl/miller.git
synced 2026-01-23 02:14:13 +00:00
Add staticcheck to Makefile
This commit is contained in:
parent
4260e505d8
commit
adb2ac8f45
1 changed files with 6 additions and 1 deletions
7
Makefile
7
Makefile
|
|
@ -47,6 +47,11 @@ fmt:
|
|||
-go fmt ./internal/pkg/...
|
||||
-go fmt ./regression_test.go
|
||||
|
||||
# Needs first: go install honnef.co/go/tools/cmd/staticcheck@latest
|
||||
# See also: https://staticcheck.io
|
||||
staticcheck:
|
||||
staticcheck ./...
|
||||
|
||||
# ----------------------------------------------------------------
|
||||
# For developers before pushing to GitHub.
|
||||
#
|
||||
|
|
@ -89,4 +94,4 @@ release_tarball: build check
|
|||
|
||||
# ================================================================
|
||||
# Go does its own dependency management, outside of make.
|
||||
.PHONY: build mlr check unit_test regression_test fmt dev docs
|
||||
.PHONY: build mlr check unit_test regression_test fmt staticcheck dev docs
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue