22 lines
600 B
Ruby
22 lines
600 B
Ruby
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.0/skinny-3.0.0-1.tar.gz"
|
|
sha256 "f5861281ff34153ffd2052ed2335ad18d7887eaa0545638c36a56ccb5a167337"
|
|
|
|
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
|