mirror of
https://github.com/YspCoder/clawgo.git
synced 2026-05-06 10:17:29 +08:00
add tui to no-channel build variant
This commit is contained in:
5
Makefile
5
Makefile
@@ -39,6 +39,7 @@ empty:=
|
||||
space:=$(empty) $(empty)
|
||||
comma:=,
|
||||
ALL_CHANNEL_OMIT_TAGS=$(subst $(space),$(comma),$(addprefix omit_,$(CHANNELS)))
|
||||
NOCHANNELS_TAGS=$(ALL_CHANNEL_OMIT_TAGS),with_tui
|
||||
|
||||
# Installation
|
||||
INSTALL_PREFIX?=/usr/local
|
||||
@@ -123,7 +124,7 @@ build-variants: sync-embed-workspace
|
||||
tags=""; \
|
||||
suffix=""; \
|
||||
if [ "$$variant" = "none" ]; then \
|
||||
tags="$(ALL_CHANNEL_OMIT_TAGS)"; \
|
||||
tags="$(NOCHANNELS_TAGS)"; \
|
||||
suffix="-nochannels"; \
|
||||
elif [ "$$variant" != "full" ]; then \
|
||||
for ch in $(CHANNELS); do \
|
||||
@@ -192,7 +193,7 @@ build-all-variants: sync-embed-workspace
|
||||
tags=""; \
|
||||
suffix=""; \
|
||||
if [ "$$variant" = "none" ]; then \
|
||||
tags="$(ALL_CHANNEL_OMIT_TAGS)"; \
|
||||
tags="$(NOCHANNELS_TAGS)"; \
|
||||
suffix="-nochannels"; \
|
||||
elif [ "$$variant" != "full" ]; then \
|
||||
for ch in $(CHANNELS); do \
|
||||
|
||||
Reference in New Issue
Block a user