f9fcb15035
Closes Homebrew/homebrew#46687. Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
21 lines
576 B
Ruby
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.2/skinny-2.0.2.tar.gz"
|
|
sha256 "dc9fb59edc93e58d7289418dfc00b0afd4712c24b8dd78a0ec9f5cb4134774e8"
|
|
|
|
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
|