plantuml: minor style tweaks

This commit is contained in:
Dominyk Tiller 2016-07-29 22:53:31 +01:00
parent 7867ba1543
commit f820c76717
No known key found for this signature in database
GPG key ID: FE19AEFCF658C6F6

View file

@ -11,13 +11,13 @@ class Plantuml < Formula
def install
jar = "plantuml.#{version}.jar"
prefix.install jar
(bin+"plantuml").write <<-EOS.undent
(bin/"plantuml").write <<-EOS.undent
#!/bin/bash
GRAPHVIZ_DOT="#{Formula["graphviz"].opt_bin}/dot" exec java -jar #{prefix}/#{jar} "$@"
EOS
end
test do
system "#{bin}/plantuml", "-testdot"
system bin/"plantuml", "-testdot"
end
end