Skip to content

Instantly share code, notes, and snippets.

@rjeczalik
Created July 9, 2014 20:25
Show Gist options
  • Save rjeczalik/07aac8be08eeb6037d04 to your computer and use it in GitHub Desktop.
Save rjeczalik/07aac8be08eeb6037d04 to your computer and use it in GitHub Desktop.
PlantUML exec script + skin configuration
skinparam {
monochrome true
defaultFontName Consolas
defaultFontSize 12
noteBackgroundColor #C0C0C0
noteFontName Courier
sequenceBoxBackgroundColor #EEEEEE
sequenceLifeLineBackgroundColor #DDDDDD
}
#!/usr/bin/env bash
top=$(cd $(dirname "${BASH_SOURCE[0]}"); pwd)
find . -name '*.uml' |
while read _uml; do
_img=${_uml//\.uml/.png}
echo "-- Generating ${_img}..."
"${top}/plantuml.jar" -config "${HOME}/.plantuml.cfg" "${_uml}"
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment