22 lines
598 B
Ruby
22 lines
598 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/2.5.1/skinny-2.5.1.tar.gz"
|
|
sha256 "d099f4dc35bb58544c28b6f0a47e650157980326412b29f7e7405738a9c7d200"
|
|
|
|
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
|