homebrew-core/Formula/skinny.rb
Kazuhiro a4f82099b3 skinny 2.0.6
Closes Homebrew/homebrew#48810.

Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
2016-02-04 05:04:16 +00:00

21 lines
576 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.0.6/skinny-2.0.6.tar.gz"
sha256 "30d77ab22efd8dbf4d7b353eb90060ef32f61d71efd8f228451d6549d57675c0"
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