9542186e71
Closes Homebrew/homebrew#48146. Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
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.5/skinny-2.0.5.tar.gz"
|
|
sha256 "f68e62bb71aeb14067d13799525b4d4f4bfad5ecb2adb1fb319a1444633b8576"
|
|
|
|
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
|