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/2.1.2/skinny-2.1.2.tar.gz" sha256 "8a201a98d27128ef3d191186757899350311df96c6b28e8cee97c5daa5d04b8b" bottle :unneeded def install libexec.install Dir["*"] (bin/"skinny").write <<-EOS.undent #!/bin/bash export PATH=#{bin}:$PATH PREFIX="#{libexec}" exec "#{libexec}/skinny" "$@" EOS end test do system bin/"skinny", "new", "myapp" end end