Makefile execute: don't try to run failed evaluations :D
This commit is contained in:
parent
0939b8b376
commit
8682f49ed7
5
Makefile
5
Makefile
|
@ -14,7 +14,10 @@ evaluate = \
|
||||||
--show-trace \
|
--show-trace \
|
||||||
$(1)
|
$(1)
|
||||||
|
|
||||||
execute = $(call evaluate,-A config.krebs.build.$(1) --json) | jq -r . | sh
|
execute = \
|
||||||
|
result=$$($(call evaluate,-A config.krebs.build.$(1) --json)) && \
|
||||||
|
script=$$(echo "$$result" | jq -r .) && \
|
||||||
|
echo "$$script" | sh
|
||||||
|
|
||||||
# usage: make deploy system=foo [target_host=bar]
|
# usage: make deploy system=foo [target_host=bar]
|
||||||
deploy:
|
deploy:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user