homebrew-core/Formula/micronaut.rb
Rui Chen 308b9bb79f micronaut 1.2.7
Closes #47417.

Signed-off-by: Alexander Bayandin <a.bayandin@gmail.com>
2019-12-03 08:59:49 +00: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.7/micronaut-1.2.7.zip"
sha256 "c48104b0519857a4b040eeeef0c371f832961c2bdfb4469ea80a44fbcd59b5e0"
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