class Skinny < Formula desc "Full-stack web app framework in Scala" homepage "http://skinny-framework.org/" url "https://github.com/skinny-framework/skinny-framework/releases/download/3.0.1/skinny-3.0.1.tar.gz" sha256 "e81578959b8edf715a407aaf17d339ff5223d9c3654f308cd5bcee553e95eef8" bottle :unneeded depends_on :java => "1.8+" def install libexec.install Dir["*"] (bin/"skinny").write <<~EOS #!/bin/bash export PATH=#{bin}:$PATH PREFIX="#{libexec}" exec "#{libexec}/skinny" "$@" EOS end test do system bin/"skinny", "new", "myapp" end end