summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArnstein Ressem <aressem@verizonmedia.com>2023-05-23 10:47:04 +0200
committerGitHub <noreply@github.com>2023-05-23 10:47:04 +0200
commit14583ad0719a537ef8a400262052ddf1966d6329 (patch)
tree280c0dc54cc823d6094187d324cbededb4f721dd
parent23182f78e451491a7aa86dbf1b63611bce797736 (diff)
parentfcc088e172bc3872ceacc9de88507febcd74c3f4 (diff)
Merge pull request #27179 from vespa-engine/mpolden/remove-wrapper
Avoid including vespa-wrapper in CLI release
-rw-r--r--client/go/Makefile3
1 files changed, 2 insertions, 1 deletions
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); \