From f64c5351549d2f9f4312f63aa366755cf2acfaf2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Viktor=20Tigerstr=C3=B6m?= Date: Tue, 30 May 2023 11:51:15 +0200 Subject: [PATCH 1/2] make: add trimpath flag to `make go-install` cmd --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 8337f3ede..f21e4c958 100644 --- a/Makefile +++ b/Makefile @@ -128,8 +128,8 @@ go-build: go-install: @$(call print, "Installing lightning-terminal.") - $(GOINSTALL) -tags="$(LND_RELEASE_TAGS)" -ldflags "$(LDFLAGS)" $(PKG)/cmd/litd - $(GOINSTALL) -tags="$(LND_RELEASE_TAGS)" -ldflags "$(LDFLAGS)" $(PKG)/cmd/litcli + $(GOINSTALL) -trimpath -tags="$(LND_RELEASE_TAGS)" -ldflags "$(LDFLAGS)" $(PKG)/cmd/litd + $(GOINSTALL) -trimpath -tags="$(LND_RELEASE_TAGS)" -ldflags "$(LDFLAGS)" $(PKG)/cmd/litcli go-install-cli: @$(call print, "Installing all CLI binaries.") From ed0e713ff513f2178f7b4a2d7210a0bd12515c4e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Viktor=20Tigerstr=C3=B6m?= Date: Mon, 29 May 2023 11:37:11 +0200 Subject: [PATCH 2/2] make: install litcli with `make go-install-cli` --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index f21e4c958..070f0860b 100644 --- a/Makefile +++ b/Makefile @@ -138,6 +138,7 @@ go-install-cli: $(GOINSTALL) -trimpath github.com/lightninglabs/faraday/cmd/frcli $(GOINSTALL) -trimpath -ldflags "$(LDFLAGS)" github.com/lightninglabs/pool/cmd/pool $(GOINSTALL) -trimpath -ldflags "$(LDFLAGS)" github.com/lightninglabs/taproot-assets/cmd/tapcli + $(GOINSTALL) -trimpath -tags="$(LND_RELEASE_TAGS)" -ldflags "$(LDFLAGS)" $(PKG)/cmd/litcli app-build: yarn-install @$(call print, "Building production app.")