Skip to content

Commit

Permalink
decouple implicit build of pb/gostatsd.pb.go from package build
Browse files Browse the repository at this point in the history
  • Loading branch information
akavatl committed Nov 8, 2024
1 parent 383f932 commit 5c0fd5b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand All @@ -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

Expand Down

0 comments on commit 5c0fd5b

Please sign in to comment.