aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 0ced723..3e4cefa 100644
--- a/Makefile
+++ b/Makefile
@@ -43,7 +43,11 @@ $(SYNTAX_DIAGRAMS): %.svg: %.py
python3 $<
$(WORKFLOW_DIAGRAMS): %.svg: %.cwl
- cwltool --print-dot $< | gvpr -f workflow/rotate.gvpr | dot -Tsvg > $@
+ cwltool --print-dot $< \
+ | gvpr -f workflow/rotate.gvpr \
+ | perl -pe 's/phase\d_//g;' \
+ -e 's/label=\K[^\s",]+|translate_to_\w+/ "\"".join(" ", split(m{_}, $$&))."\"" /ge' \
+ | dot -Tsvg > $@
check: $(DIFFTESTS:%=check-%)
luacheck --quiet $(FILTER)