homebrew-core/Formula/skinny.rb
Kaz Sera 6979b9a1cb skinny 2.0.7
Closes Homebrew/homebrew#49149.

Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
2016-02-13 18:35:40 +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.7/skinny-2.0.7.tar.gz"
sha256 "c7ecd8358695d8c4d3e95782b3c273a36c7d6c65abe3600ec950af9b15232e70"
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