homebrew-core/Formula/skinny.rb
Kazuhiro Sera 085552d27b skinny 2.3.1
Closes #7380.

Signed-off-by: Tomasz Pajor <tomek@polishgeeks.com>
2016-11-29 21:48:57 +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.1/skinny-2.3.1.tar.gz"
sha256 "f09c564c150a286f51bfe08617887ff2092045106c9cd841d2c52a60749f95e5"
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