aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2025-05-24 09:48:09 +0200
committerJonas Smedegaard <dr@jones.dk>2025-05-24 09:55:02 +0200
commitb6b5c9e32bd53adec873e6efdd9b896eefcb7c30 (patch)
treeb13c85ff2774e4373280e294ba0e004f401bdb4c /Makefile
parent4d0e9adfe61c2957dd5cb59a13f1f7784c06a4f1 (diff)
tighten workflow diagrams
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)