summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 7 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index c92682e..1ee608c 100644
--- a/Makefile
+++ b/Makefile
@@ -1,12 +1,16 @@
## SPDX-FileCopyrightText: 2021 M. Shulhan <ms@kilabit.info>
## SPDX-License-Identifier: GPL-3.0-or-later
-.PHONY: all dev
-
-all:
+.PHONY: all
+all: lint
go run ./internal/cmd/trunks build
CGO_ENABLED=1 go test -v -race ./...
-golangci-lint run ./...
+.PHONY: lint
+lint:
+ cd _www && npx eslint --fix .
+
+.PHONY: dev
dev:
go run ./internal/cmd/trunks