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.1.0/micronaut-1.1.0.zip" sha256 "21595867692f61317a20c8222c88c86a6599663461b2bed1d1922e6643cc84b9" 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