aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorShulhan <ms@kilabit.info>2025-12-29 14:14:29 +0700
committerShulhan <ms@kilabit.info>2025-12-29 14:14:29 +0700
commit4654d45c96f86133bc0258d67c919dea7884fc46 (patch)
tree5ed00f5bd59dd72d862f19739edfdc9c759640a1 /Makefile
parent5aa9337aeae709244846782ac98f276ad7965d78 (diff)
downloadhaminer-4654d45c96f86133bc0258d67c919dea7884fc46.tar.xz
make: replace external linter with gocheck
The fieldalignment and shadow is a linter from golang.org/x/tools. This program actually have an API that can be used. The pakakeh.go/lib/goanalysis wrap those APIs into a single function call that can be run inside a main. This minimize and simplified our tools dependencies.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index c2df6ed..64b5455 100644
--- a/Makefile
+++ b/Makefile
@@ -35,8 +35,7 @@ test-integration:
##----
lint:
- -fieldalignment ./...
- -shadow ./...
+ go run ./internal/cmd/gocheck ./...
go vet ./...
install: