micronaut 1.0.0.M3 (new formula)

micronaut-1.0.0.M3

Fixes https://github.com/micronaut-projects/micronaut-core/issues/356

Closes #29807.

Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
This commit is contained in:
George Gastaldi 2018-07-06 14:04:13 -03:00 committed by Dominyk Tiller
parent 3d2420e8af
commit ea674b077b
No known key found for this signature in database
GPG key ID: FE19AEFCF658C6F6

22
Formula/micronaut.rb Normal file
View file

@ -0,0 +1,22 @@
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.0.M3/micronaut-1.0.0.M3.zip"
version "1.0.0.M3"
sha256 "394a315d0eeeb567b41a3ddfb9cad374e7b934ac9ba69ffb53fa38d0ea355e79"
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