mirror of
https://gitee.com/zlgopen/awtk.git
synced 2024-11-30 02:58:26 +08:00
19 lines
231 B
Bash
Executable File
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
|