aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 3dad251..2451468 100644
--- a/Makefile
+++ b/Makefile
@@ -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