You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ossie.apache.org by jb...@apache.org on 2026/07/13 16:16:14 UTC

(ossie) 10/10: chore(cli): add make install target for local development

This is an automated email from the ASF dual-hosted git repository.

jbonofre pushed a commit to branch pr-6
in repository https://gitbox.apache.org/repos/asf/ossie.git

commit e6b0d743d8146f03a139792900075808cc6c4fd3
Author: Quigley Malcolm <qu...@dbtlabs.com>
AuthorDate: Tue Jun 23 16:53:02 2026 -0500

    chore(cli): add make install target for local development
    
    go install . names the binary after the module path's last segment
    (cli) rather than the intended ossie. make install uses go build -o
    directly into $GOPATH/bin with the correct binary name.
---
 cli/Makefile | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/cli/Makefile b/cli/Makefile
index 9ecbcb7..d1f7d66 100644
--- a/cli/Makefile
+++ b/cli/Makefile
@@ -1,11 +1,14 @@
 BINARY_NAME := ossie
 BUILD_DIR   := dist
 
-.PHONY: build test lint release-dry-run clean
+.PHONY: build install test lint release-dry-run clean
 
 build:
 	go build -o $(BUILD_DIR)/$(BINARY_NAME) .
 
+install:
+	go build -o $(shell go env GOPATH)/bin/$(BINARY_NAME) .
+
 test:
 	go test ./...