c720c4d6ba
Update PlantUML to v8018 Closes Homebrew/homebrew#35931. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
19 lines
432 B
Ruby
19 lines
432 B
Ruby
require "formula"
|
|
|
|
class Plantuml < Formula
|
|
homepage "http://plantuml.sourceforge.net/"
|
|
url "https://downloads.sourceforge.net/project/plantuml/plantuml.8018.jar"
|
|
sha1 "0a2e88c09812b6636bcb5acb6507a0462dbe08af"
|
|
|
|
depends_on "graphviz"
|
|
|
|
def install
|
|
jar = "plantuml.#{version}.jar"
|
|
prefix.install jar
|
|
bin.write_jar_script prefix/jar, "plantuml"
|
|
end
|
|
|
|
test do
|
|
system "#{bin}/plantuml", "-testdot"
|
|
end
|
|
end
|