| Jeenu Viswambharan | cafad7b | 2017-10-18 14:35:20 +0100 | [diff] [blame] | 1 | #!/bin/bash |
| 2 | |||||
| 3 | # Convert all PlantUML files in this directory to SVG files. The plantuml_jar | ||||
| 4 | # environment variable must be set to the path to PlantUML JAR file. | ||||
| 5 | |||||
| 6 | if [ -z "$plantuml_jar" ]; then | ||||
| 7 | echo "Usage: plantuml_jar=/path/to/plantuml.jar $0 *.puml" >&2 | ||||
| 8 | exit 1 | ||||
| 9 | fi | ||||
| 10 | |||||
| 11 | java -jar "$plantuml_jar" -nometadata -tsvg "$@" | ||||
| 12 | |||||
| 13 | # vim:set noet sts=8 tw=80: | ||||