homebrew-core/Formula/skinny.rb
Kazuhiro Sera daf1c00c06 skinny 2.0.3
Closes Homebrew/homebrew#47527.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-12-30 14:58:47 +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.3/skinny-2.0.3.tar.gz"
sha256 "dff351acfa4da7c1439df2928f9b04fd1a591cd2e70fede1f5819b142b23a4a5"
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