diff options
| author | Shulhan <ms@kilabit.info> | 2024-09-04 13:12:08 +0700 |
|---|---|---|
| committer | Shulhan <ms@kilabit.info> | 2024-09-04 14:04:37 +0700 |
| commit | ad7edcb804e60434cdf0ed78d42e57058c592ec3 (patch) | |
| tree | e731cd95e2210bece034947b15124034832681fb /Makefile | |
| parent | f6866e5645f1da1823f29592fda2aa161e70d655 (diff) | |
| download | gorankusu-ad7edcb804e60434cdf0ed78d42e57058c592ec3.tar.xz | |
make: add task "build"
This is so we can build again if its failed, after lint and test has
passed.
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -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 |
