improves yq command
This commit is contained in:
@@ -12,9 +12,7 @@ REGISTRY_DOMAIN := git.joeac.net
|
|||||||
REGISTRY_USER := joeac
|
REGISTRY_USER := joeac
|
||||||
MODULES := http gemini smtp vaultwarden etherpad ln
|
MODULES := http gemini smtp vaultwarden etherpad ln
|
||||||
COMPOSE_SERVICES := $(shell podman-compose config \
|
COMPOSE_SERVICES := $(shell podman-compose config \
|
||||||
| yq ".services | keys" \
|
| yq ".services | keys" --output-format csv --csv-separator " ")
|
||||||
| sed "s/[,[\"]//g" \
|
|
||||||
| sed "s/]//g")
|
|
||||||
MAKE_MODULES := $(foreach module,$(MODULES),\
|
MAKE_MODULES := $(foreach module,$(MODULES),\
|
||||||
$(shell [ -f $(module)/Makefile ] && echo $(module)))
|
$(shell [ -f $(module)/Makefile ] && echo $(module)))
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user