summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index a8bad68..dda1d9f 100644
--- a/Makefile
+++ b/Makefile
@@ -8,6 +8,13 @@ COVER_HTML:=cover.html
all: lint test
go run ./internal/cmd/gorankusu build
+.PHONY: init
+init:
+ git submodule update --init
+ go install golang.org/x/tools/go/analysis/passes/fieldalignment/cmd/fieldalignment
+ go install golang.org/x/tools/go/analysis/passes/shadow/cmd/shadow
+ cd _www && yarn install
+
.PHONY: lint
lint: lint-www
-revive ./...