diff options
| author | Shulhan <ms@kilabit.info> | 2024-04-23 11:27:21 +0700 |
|---|---|---|
| committer | Shulhan <ms@kilabit.info> | 2024-04-23 12:25:10 +0700 |
| commit | 6f26bfad43f5ea6655aabeb187f2b006be9cf819 (patch) | |
| tree | 3b8380395d234cb77f2202aceef444876036efee /Makefile | |
| parent | 19d1c0cc0653b7c83638367e78debf42aea5f037 (diff) | |
| download | gorankusu-6f26bfad43f5ea6655aabeb187f2b006be9cf819.tar.xz | |
all: add task to initialize the repository and tools
The task "init" include initializing git submodule, installing third
party tools for linters, and installing node packages.
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -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 ./... |
