summaryrefslogtreecommitdiff
path: root/doc/src
diff options
context:
space:
mode:
authorLudovic Pouzenc <ludovic@pouzenc.fr>2014-10-23 13:30:31 +0200
committerLudovic Pouzenc <ludovic@pouzenc.fr>2015-04-14 07:44:59 +0200
commit695373bb62f87ad8de51d72ed8c78c4acc8af3e0 (patch)
treed2b31ae9c43f7faee5819ff8328126b62b9eb7fe /doc/src
parent267c7b1af11ec8f306b37c58c7190c57fd906dc5 (diff)
downloadsssync-695373bb62f87ad8de51d72ed8c78c4acc8af3e0.tar.gz
sssync-695373bb62f87ad8de51d72ed8c78c4acc8af3e0.tar.bz2
sssync-695373bb62f87ad8de51d72ed8c78c4acc8af3e0.zip
A bit of visual documentation
Diffstat (limited to 'doc/src')
-rwxr-xr-xdoc/src/do_inherit.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/src/do_inherit.sh b/doc/src/do_inherit.sh
new file mode 100755
index 0000000..a49a528
--- /dev/null
+++ b/doc/src/do_inherit.sh
@@ -0,0 +1,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