summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMoritz Poldrack <git@moritz.sh>2022-06-22 12:25:57 +0200
committerRobin Jarry <robin@jarry.cc>2022-06-24 21:08:21 +0200
commite9b01867827aac29f11b376debaf2209e8e7c9b4 (patch)
tree6df89f8dd3cdcf98aa0f7a7e71bbb2308dde6157 /Makefile
parent3f45dee237a076b009e1284bc9784f5f7a07df97 (diff)
downloadaerc-e9b01867827aac29f11b376debaf2209e8e7c9b4.zip
mk: add lint target
Run go vet only for now. More linters can be added later. Run linters in the CI pipeline. Signed-off-by: Moritz Poldrack <git@moritz.sh> Acked-by: Robin Jarry <robin@jarry.cc>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 1b32a6b..129adaa 100644
--- a/Makefile
+++ b/Makefile
@@ -64,6 +64,10 @@ checkfmt:
exit 1; \
fi
+.PHONY: lint
+lint:
+ $(GO) vet ./...
+
.PHONY: tests
tests:
$(GO) test $(GOFLAGS) -v ./...