From c5c6d6a375150ce1b2ec7f3c8a7cad1b622d6a3d Mon Sep 17 00:00:00 2001 From: Imbus <> Date: Wed, 5 Jun 2024 21:53:53 +0200 Subject: [PATCH] UML scripts --- makefile | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/makefile b/makefile index 360dd4a..6ad545a 100644 --- a/makefile +++ b/makefile @@ -61,23 +61,26 @@ java2umltext.jar: (echo "Checksum mismatch, something fishy is up"; rm -f java2umltext.jar; exit 1) uml: java2umltext.jar - $(MERMAID) app/src/main/java/model > diagrams_model.mmd - $(MERMAID) app/src/main/java/expr > diagrams_expr.mmd - $(MERMAID) app/src/main/java/gui > diagrams_gui.mmd - $(MERMAID) app/src/main/java/menu > diagrams_menu.mmd - $(MERMAID) app/src/main/java/util > diagrams_util.mmd + $(MERMAID) app/src/main/java/xl/model > diagrams_model.mmd + $(MERMAID) app/src/main/java/xl/expr > diagrams_expr.mmd + $(MERMAID) app/src/main/java/xl/gui > diagrams_gui.mmd + $(MERMAID) app/src/main/java/xl/menu > diagrams_menu.mmd + $(MERMAID) app/src/main/java/xl/util > diagrams_util.mmd + $(MERMAID) app/src/main/java/xl/controller> diagrams_controller.mmd mmdc -q -i diagrams_model.mmd -o diagrams_model.svg -t dark -b transparent mmdc -q -i diagrams_expr.mmd -o diagrams_expr.svg -t dark -b transparent mmdc -q -i diagrams_gui.mmd -o diagrams_gui.svg -t dark -b transparent mmdc -q -i diagrams_menu.mmd -o diagrams_menu.svg -t dark -b transparent mmdc -q -i diagrams_util.mmd -o diagrams_util.svg -t dark -b transparent + mmdc -q -i diagrams_controller.mmd -o diagrams_controller.svg -t dark -b transparent mmdc -q -i diagrams_model.mmd -o diagrams_model.png mmdc -q -i diagrams_expr.mmd -o diagrams_expr.png mmdc -q -i diagrams_gui.mmd -o diagrams_gui.png mmdc -q -i diagrams_menu.mmd -o diagrams_menu.png mmdc -q -i diagrams_util.mmd -o diagrams_util.png + mmdc -q -i diagrams_controller.mmd -o diagrams_controller.png @tar --transform 's,^,$(UMLDIRNAME)/,' -czf $(UMLTARNAME) diagrams_*.{mmd,png,svg} tar -tvf $(UMLTARNAME)