Skip to content

Instantly share code, notes, and snippets.

@Flower7C3
Created March 4, 2020 13:54
Show Gist options
  • Save Flower7C3/5329e7748238c05473ec608953058a0a to your computer and use it in GitHub Desktop.
Save Flower7C3/5329e7748238c05473ec608953058a0a to your computer and use it in GitHub Desktop.
Build plantuml from file with plantuml.jar
#!/usr/bin/env bash
cd $(dirname $0)
files="$@"
if [[ -z "$files" ]]; then
files="$(ls *.puml)"
fi
java -jar plantuml.jar -v -tpng $files
exit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment