homebrew-core/Formula/micronaut.rb
Caleb Xu 5b855d1919 micronaut 1.2.5
Closes #45478.

Signed-off-by: FX Coudert <fxcoudert@gmail.com>
2019-10-18 14:18:37 +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.2.5/micronaut-1.2.5.zip"
sha256 "834cadb0d5c0551e1514de4a5a93e33d1bfa8055da53993974cbe19b3c3e85b6"
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