homebrew-core/Formula/skinny.rb
Kazuhiro Sera e843d8749e skinny 2.4.0
Closes .

Signed-off-by: JCount <JCount42@gmail.com>
2017-07-30 17:58:57 -04:00

22 lines
605 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.4.0/skinny-2.4.0.tar.gz"
sha256 "8ee02680f876d603cde2c87057d83e13647eb118ae1c19498ff6e95ce2526051"
bottle :unneeded
depends_on :java => "1.8+"
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