From fcc088e172bc3872ceacc9de88507febcd74c3f4 Mon Sep 17 00:00:00 2001 From: Martin Polden Date: Tue, 23 May 2023 09:20:16 +0200 Subject: Avoid including vespa-wrapper in CLI release --- client/go/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'client/go') diff --git a/client/go/Makefile b/client/go/Makefile index 9edfc940151..95da52c2383 100644 --- a/client/go/Makefile +++ b/client/go/Makefile @@ -86,7 +86,8 @@ $(DIST_TARGETS): DIST_NAME=vespa-cli_$(VERSION)_$(GOOS)_$(GOARCH) $(DIST_TARGETS): dist-version ci manpages $(DIST_TARGETS): mkdir -p $(DIST)/$(DIST_NAME)/bin - env CGO_ENABLED=0 GOOS=$(GOOS) GOARCH=$(GOARCH) go build -o $(DIST)/$(DIST_NAME)/bin $(GO_FLAGS) ./... + env CGO_ENABLED=0 GOOS=$(GOOS) GOARCH=$(GOARCH) go build -o $(DIST)/$(DIST_NAME)/bin $(GO_FLAGS) \ + github.com/vespa-engine/vespa/client/go/internal/cli/cmd/vespa cp -a $(PROJECT_ROOT)/LICENSE $(DIST)/$(DIST_NAME) if [ "$(GOOS)" = "windows" ]; then \ cd $(DIST) && zip -r $(DIST)/$(DIST_NAME).zip $(DIST_NAME); \ -- cgit v1.2.3