summaryrefslogtreecommitdiff
path: root/doc/src/do_inherit.sh
blob: a49a5283eab1074d5bc795190c3d92e62785d8e6 (plain)
1
2
3
4
5
6
7
8
9
#!/bin/bash
PLANTUML_PATH=/opt/plantuml
#CODE_BASEPATH=~/git/sssync/src/
CODE_BASEPATH=../..

java -jar $PLANTUML_PATH/plantuml-dependency-cli-1.4.0-jar-with-dependencies.jar -b $CODE_BASEPATH -o /tmp/inheritance.plant -dt abstract_classes,classes,enums,extensions,implementations,interfaces,native_methods
grep -vE '^class ' /tmp/inheritance.plant > ../diagrams/inheritance.plant
cd ../diagrams/
java -jar $PLANTUML_PATH/plantuml.8008.jar -tsvg inheritance.plant