homebrew-core/Formula/skinny.rb
Kazuhiro 6b11c8e63b skinny 2.0.8
Closes Homebrew/homebrew#50435.

Signed-off-by: Alex Dunn <dunn.alex@gmail.com>
2016-03-28 18:23:28 +08: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.8/skinny-2.0.8.tar.gz"
sha256 "49a15752131cb62c5332d188bc546acef95973aad0820dc4e104efc6283256c4"
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