Update ctl init to support env file
This commit is contained in:
13
makefile
13
makefile
@@ -238,18 +238,7 @@ check-functions:
|
||||
@echo "Missing functions:"
|
||||
@comm -23 /tmp/called.txt /tmp/defined.txt || true
|
||||
|
||||
# ---- node targets ------------------------------------------------------------
|
||||
|
||||
node-config: $(NODE_ENV_DEFAULT) $(SCRIPTS_DIR)/merge-env.sh | $(OUT_DIR)
|
||||
sh $(SCRIPTS_DIR)/merge-env.sh $(NODE_ENV_DEFAULT) $(NODE_ENV)
|
||||
|
||||
node-defconfig: $(NODE_ENV_DEFAULT) | $(OUT_DIR)
|
||||
cp $(NODE_ENV_DEFAULT) $(NODE_ENV)
|
||||
|
||||
node-print:
|
||||
@cat $(NODE_ENV)
|
||||
|
||||
# ---- cluster targets ------------------------------------------------------------
|
||||
# ---- config targets ------------------------------------------------------------
|
||||
|
||||
cluster-config: $(CLUSTER_ENV_DEFAULT) $(SCRIPTS_DIR)/merge-env.sh | $(OUT_DIR)
|
||||
sh $(SCRIPTS_DIR)/merge-env.sh $(CLUSTER_ENV_DEFAULT) $(CLUSTER_ENV)
|
||||
|
||||
Reference in New Issue
Block a user