homebrew-core/Formula/skinny.rb
2016-05-04 14:21:12 +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.0.9/skinny-2.0.9.tar.gz"
sha256 "da778f045fc02f326f5d8aec8724013d384d359d971c69c723df096938d4cf6b"
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