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.6/micronaut-1.2.6.zip" sha256 "7218e1e349df598db8a6a6c59a73eb4867b34caf91b2d9456bbdc7eac6476d28" 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