Newer
Older
arm-trusted-firmware / docs / resources / diagrams / plantuml / plantuml_to_svg.sh
@Paul Beesley Paul Beesley on 22 May 2019 347 bytes doc: Reorganise images and update links
#!/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: