homebrew-core/Formula/micronaut.rb
Rui Chen e67aed4e63 micronaut 1.2.8
Closes #47960.

Signed-off-by: Alexander Bayandin <a.bayandin@gmail.com>
2019-12-17 09:35:41 +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.8/micronaut-1.2.8.zip"
sha256 "d7087165930b8c8d07868d2e7e407e257cace98536767134c5b6e087e59345a5"
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