summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index dda1d9f..dce897b 100644
--- a/Makefile
+++ b/Makefile
@@ -5,8 +5,7 @@ COVER_OUT:=cover.out
COVER_HTML:=cover.html
.PHONY: all
-all: lint test
- go run ./internal/cmd/gorankusu build
+all: lint test build
.PHONY: init
init:
@@ -30,6 +29,10 @@ test:
CGO_ENABLED=1 go test -failfast -timeout=1m -race -coverprofile=$(COVER_OUT) ./...
go tool cover -html=$(COVER_OUT) -o $(COVER_HTML)
+.PHONY: build
+build:
+ go run ./internal/cmd/gorankusu build
+
.PHONY: dev
dev:
go run ./internal/cmd/gorankusu