doc
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
# function install-parameters: copy PARAMETERS files to application config folder
|
||||
define install-parameters
|
||||
$(eval path:=$(or $(1),$(APP)))
|
||||
$(eval file:=$(or $(2),$(DOCKER_SERVICE)/parameters.yml))
|
||||
$(eval dest:=$(or $(3),app/config))
|
||||
$(eval file:=$(or $(2),$(DOCKER_SERVICE)))
|
||||
$(eval dest:=$(or $(3),config))
|
||||
$(eval env:=$(or $(4),$(ENV)))
|
||||
$(if $(wildcard $(dest)/$(file)),,$(if $(wildcard $(PARAMETERS)/$(env)/$(path)/$(file)),$(ECHO) cp -a $(PARAMETERS)/$(env)/$(path)/$(file) $(dest)))
|
||||
endef
|
||||
|
||||
Reference in New Issue
Block a user