diff options
| author | Shulhan <ms@kilabit.info> | 2022-08-17 14:07:28 +0700 |
|---|---|---|
| committer | Shulhan <ms@kilabit.info> | 2022-08-17 14:07:28 +0700 |
| commit | c28879b9d5f2f1bea96d5aaf64f1af1fc185e7b0 (patch) | |
| tree | 00e34333ddf93c7ed9fb647a43d43a09172de37f | |
| parent | e7476eed707355bbd0aa4e8fc1b3a025081068a0 (diff) | |
| download | haminer-c28879b9d5f2f1bea96d5aaf64f1af1fc185e7b0.tar.xz | |
all: add task to run test on make
| -rw-r--r-- | Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -5,8 +5,11 @@ all: install build: go build -v ./cmd/haminer +test: + CGO_ENABLED=1 go test -race ./... + lint: -golangci-lint run ./... -install: build lint +install: build test lint go install -v ./cmd/haminer |
