homebrew-core/Formula/micronaut.rb
Igor Kapkov a126b6df52
micronaut 1.0.2
Closes #35286.

Signed-off-by: Chongyu Zhu <i@lembacon.com>
2018-12-21 02:20:16 +08:00

21 lines
633 B
Ruby

class Micronaut < Formula
desc "Modern JVM-based framework for building modular microservices"
homepage "http://micronaut.io"
url "https://github.com/micronaut-projects/micronaut-core/releases/download/v1.0.2/micronaut-1.0.2.zip"
sha256 "164eca3ffde6d4e3019dee28528e916a0ca13ffb3d49e00dbdefe003a10c78db"
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