aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.builds/alpine-edge.yml3
-rw-r--r--Makefile4
2 files changed, 7 insertions, 0 deletions
diff --git a/.builds/alpine-edge.yml b/.builds/alpine-edge.yml
index ad9b8af5..92322b44 100644
--- a/.builds/alpine-edge.yml
+++ b/.builds/alpine-edge.yml
@@ -14,6 +14,9 @@ tasks:
- checkfmt: |
cd aerc
make checkfmt
+ - lint: |
+ cd aerc
+ make lint
- build: |
cd aerc
make
diff --git a/Makefile b/Makefile
index 1b32a6b1..129adaaa 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 ./...