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.6.0/skinny-2.6.0.tar.gz"
|
|
sha256 "507d6fdf40efe40fe2b06b5eecea6bb3f0f977f27e25723c8a0c2f3a8231f4f2"
|
|
|
|
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
|