From 26f8d91939f6ecf3d02724000ad5f86091a6dacc Mon Sep 17 00:00:00 2001 From: Nadia Santalla Date: Tue, 12 Nov 2024 18:54:19 +0100 Subject: [PATCH] HACK: make build depend on sm-k6 Otherwise, it is not currently possible for goreleaser to access files created by `sm-k6`, as goreleaser wipes `dist` before running. --- scripts/make/build.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/make/build.mk b/scripts/make/build.mk index 724606ff2..0d833e1db 100644 --- a/scripts/make/build.mk +++ b/scripts/make/build.mk @@ -25,7 +25,8 @@ build-go: $(BUILD_GO_TARGETS) ## Build all Go binaries. $(S) echo Done. .PHONY: build -build: build-go ## Build everything. +# FIXME: The dependency on sm-k6 was here to satisfy goreleaser. It can be removed when we ditch it. +build: build-go sm-k6 ## Build everything. .PHONY: build-native build-native: $(BUILD_GO_NATIVE_TARGETS) ## Build only native Go binaries