From 31b859d3d0a5b24574a3461b82984b5ade592e8b Mon Sep 17 00:00:00 2001 From: Valentin Kiselev Date: Mon, 4 Mar 2024 09:50:09 +0300 Subject: [PATCH] chore: fix Makefile --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 0b15e3f9..d11919e9 100644 --- a/Makefile +++ b/Makefile @@ -7,7 +7,7 @@ build-with-coverage: go build -cover -ldflags "-s -w -X github.com/evilmartians/lefthook/internal/version.commit=$(COMMIT_HASH)" -o lefthook install: build - cp lefthook $(GOPATH)/bin/ + cp lefthook $$(go env GOPATH)/bin test: go test -cpu 24 -race -count=1 -timeout=30s ./...