36f4fd0d3e
Closes #31249. Signed-off-by: Chongyu Zhu <i@lembacon.com>
22 lines
660 B
Ruby
22 lines
660 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.0.M4/micronaut-1.0.0.M4.zip"
|
|
version "1.0.0.M4"
|
|
sha256 "2fecefdef087c24ddf2a14246de9609074adc20b3db35ba63e73cb03ee4d6b53"
|
|
|
|
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
|