awtk/tools/doc_gen/gen.sh
2019-05-08 15:42:13 +08:00

19 lines
231 B
Bash
Executable File

#!/bin/bash
genImages() {
dot dots/* -Tpng -O
java -jar plantuml.jar umls/*.uml
mv -v dots/*.png docs/images
mv -v umls/*.png docs/images
}
if [ "$1" == "" ]
then
node index.js
else
node index.js "$1"
fi
genImages