aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index fe066b3..7709cd6 100644
--- a/Makefile
+++ b/Makefile
@@ -9,7 +9,7 @@ VERSION=0.3
BUILD=`git rev-parse HEAD`
LDFLAGS=-ldflags "-X main.Version=${VERSION} -X main.Build=${BUILD}"
-.PHONY: default all clean ui build install test test-race test-frontend test-e2e ui-check lint ci run dev docs
+.PHONY: default all clean ui build install test test-race test-frontend test-e2e ui-check lint check ci run dev docs
default: build
@@ -49,9 +49,11 @@ ui-check: ui
git diff --exit-code web/dist/v2/
lint:
- ${GO} vet ./...
+ golangci-lint run
cd frontend && ${NPM} run lint
+check: lint test
+
ci: lint test-race test-frontend ui-check test-e2e
run: build