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 ./...