mirror of
https://github.com/lightninglabs/lightning-terminal.git
synced 2026-08-13 12:33:36 +02:00
multi: add support for building without UI
This commit adds support for building without UI. If the build tag "litd no_ui" is set the UI will be disabled.
This commit is contained in:
parent
303312c2af
commit
bc0bc687ae
5 changed files with 42 additions and 10 deletions
11
Makefile
11
Makefile
|
|
@ -130,11 +130,22 @@ go-build:
|
|||
$(GOBUILD) -tags="$(LND_RELEASE_TAGS)" -ldflags "$(LDFLAGS)" -o litd-debug $(PKG)/cmd/litd
|
||||
$(GOBUILD) -tags="$(LND_RELEASE_TAGS)" -ldflags "$(LDFLAGS)" -o litcli-debug $(PKG)/cmd/litcli
|
||||
|
||||
|
||||
go-build-noui:
|
||||
@$(call print, "Building lightning-terminal without UI.")
|
||||
$(GOBUILD) -tags="litd_no_ui $(LND_RELEASE_TAGS)" -ldflags "$(LDFLAGS)" -o litd-debug $(PKG)/cmd/litd
|
||||
$(GOBUILD) -tags="litd_no_ui $(LND_RELEASE_TAGS)" -ldflags "$(LDFLAGS)" -o litcli-debug $(PKG)/cmd/litcli
|
||||
|
||||
go-install:
|
||||
@$(call print, "Installing lightning-terminal.")
|
||||
$(GOINSTALL) -trimpath -tags="$(LND_RELEASE_TAGS)" -ldflags "$(LDFLAGS)" $(PKG)/cmd/litd
|
||||
$(GOINSTALL) -trimpath -tags="$(LND_RELEASE_TAGS)" -ldflags "$(LDFLAGS)" $(PKG)/cmd/litcli
|
||||
|
||||
go-install-noui:
|
||||
@$(call print, "Installing lightning-terminal without UI.")
|
||||
$(GOINSTALL) -tags="litd_no_ui $(LND_RELEASE_TAGS)" -ldflags "$(LDFLAGS)" $(PKG)/cmd/litd
|
||||
$(GOINSTALL) -tags="litd_no_ui $(LND_RELEASE_TAGS)" -ldflags "$(LDFLAGS)" $(PKG)/cmd/litcli
|
||||
|
||||
go-install-cli:
|
||||
@$(call print, "Installing all CLI binaries.")
|
||||
$(GOINSTALL) -trimpath -tags="$(LND_RELEASE_TAGS)" -ldflags "$(LDFLAGS)" github.com/lightningnetwork/lnd/cmd/lncli
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue