Move re-used utility functions to CaSILE

parent 0ff9bad0
......@@ -193,8 +193,6 @@ define ci_setup ?=
'. + ($$sources | [splits(" ") as $$target | [["pdfs", "renderings", "promotionals"][] as $$action | { ($$target+"."+$$action) : { "extends": ("."+$$action), "only": [ "master", ("/^"+$$target+"\\/.*/")], "except": (if ($$action != "pdfs") then ["/.*\\/isbn-basvuru$$/", "/.*\\/\\d+\\.-basim$$/"] else null end), "artifacts": { "paths": [($$target+"*")] } }}][]]) | add'
endef
require_inputdir = $(or $(strip $(INPUTDIR)),fail)
.PHONY: sync_pre
sync_pre: | $(require_inputdir)
$(foreach TARGET,$(TARGETS),mkdir -p $(INPUTDIR)/$(OUTPATH);
......@@ -208,8 +206,6 @@ sync_pre: | $(require_inputdir)
-name "$(PROJECT)*" \
-execdir rsync -utv {} $(PROJECTDIR)/ \;)
require_outputdir := $(or $(strip $(OUTPUTDIR)),fail)
.PHONY: sync_post
sync_post: | $(require_pubdir) $(require_outputdir)
$(foreach TARGET,$(TARGETS),mkdir -p $(OUTPUTDIR)/$(OUTPATH);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment