plantuml_to_svg.sh 347 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/bash

# Convert all PlantUML files in this directory to SVG files. The plantuml_jar
# environment variable must be set to the path to PlantUML JAR file.

if [ -z "$plantuml_jar" ]; then
	echo "Usage: plantuml_jar=/path/to/plantuml.jar $0 *.puml" >&2
	exit 1
fi

java -jar "$plantuml_jar" -nometadata -tsvg "$@"

# vim:set noet sts=8 tw=80: