homebrew-core/Formula/micronaut.rb
Michael Vitz 6811d14f77 micronaut 1.1.1
Closes #39673.

Signed-off-by: FX Coudert <fxcoudert@gmail.com>
2019-05-11 18:01:40 +02:00

21 lines
635 B
Ruby

class Micronaut < Formula
desc "Modern JVM-based framework for building modular microservices"
homepage "https://micronaut.io/"
url "https://github.com/micronaut-projects/micronaut-core/releases/download/v1.1.1/micronaut-1.1.1.zip"
sha256 "7cf3dafa792f0786f70fb0e0120ed945e72be03b639261729c1aff19310430bd"
bottle :unneeded
depends_on :java => "1.8+"
def install
rm_f Dir["bin/*.bat"]
libexec.install %W[bin media cli-#{version}.jar]
bin.install_symlink libexec/"bin/mn"
end
test do
system "#{bin}/mn", "create-app", "hello-world"
assert_predicate testpath/"hello-world", :directory?
end
end