UML scripts

This commit is contained in:
Imbus 2024-06-05 21:53:53 +02:00
parent 1c8e3f66cc
commit c5c6d6a375

View file

@ -61,23 +61,26 @@ java2umltext.jar:
(echo "Checksum mismatch, something fishy is up"; rm -f java2umltext.jar; exit 1) (echo "Checksum mismatch, something fishy is up"; rm -f java2umltext.jar; exit 1)
uml: java2umltext.jar uml: java2umltext.jar
$(MERMAID) app/src/main/java/model > diagrams_model.mmd $(MERMAID) app/src/main/java/xl/model > diagrams_model.mmd
$(MERMAID) app/src/main/java/expr > diagrams_expr.mmd $(MERMAID) app/src/main/java/xl/expr > diagrams_expr.mmd
$(MERMAID) app/src/main/java/gui > diagrams_gui.mmd $(MERMAID) app/src/main/java/xl/gui > diagrams_gui.mmd
$(MERMAID) app/src/main/java/menu > diagrams_menu.mmd $(MERMAID) app/src/main/java/xl/menu > diagrams_menu.mmd
$(MERMAID) app/src/main/java/util > diagrams_util.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_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_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_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_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_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_model.mmd -o diagrams_model.png
mmdc -q -i diagrams_expr.mmd -o diagrams_expr.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_gui.mmd -o diagrams_gui.png
mmdc -q -i diagrams_menu.mmd -o diagrams_menu.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_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 --transform 's,^,$(UMLDIRNAME)/,' -czf $(UMLTARNAME) diagrams_*.{mmd,png,svg}
tar -tvf $(UMLTARNAME) tar -tvf $(UMLTARNAME)