homebrew-core/Formula/skinny.rb
Kazuhiro Sera 83459ce568 skinny 2.3.4
Closes #9534.

Signed-off-by: Tomasz Pajor <tomek@polishgeeks.com>
2017-02-01 22:08:32 +01: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.3.4/skinny-2.3.4.tar.gz"
sha256 "5dfe30d5d85b214e4acab08f162334b227d2188cc574e3dcf35df7c97e960f95"
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