From 5c0fd5b5b56276e2989f7967311459c7a39df430 Mon Sep 17 00:00:00 2001 From: Alan Kavanagh Date: Fri, 8 Nov 2024 14:28:56 +1100 Subject: [PATCH] decouple implicit build of pb/gostatsd.pb.go from package build --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 38594e94..47251040 100644 --- a/Makefile +++ b/Makefile @@ -39,7 +39,7 @@ pb/gostatsd.pb.go: pb/gostatsd.proto .tools/bin/protoc GOPATH="$(TOOLS_DIR):$(shell go env GOPATH)/bin" $(TOOLS_DIR)/bin/protoc --go_out=.\ --go_opt=paths=source_relative $< -build: pb/gostatsd.pb.go +build: CGO_ENABLED=$(CGO_ENABLED) GOEXPERIMENT=boringcrypto \ go build \ -v \ @@ -66,7 +66,7 @@ build-gostatsd-fips: build-lambda-fips: @$(MAKE) build PKG=$(LAMBDA_PKG) BINARY_NAME="lambda-extension" GOBUILD_OPTIONAL_FLAGS="-tags fips" -build-all: pb/gostatsd.pb.go tools +build-all: tools test-all: check-fmt cover test-race bench bench-race check