homebrew-core/Formula/skinny.rb
Kazuhiro Sera 129b2f821a skinny 2.3.2
Closes #7970.

Signed-off-by: Tomasz Pajor <tomek@polishgeeks.com>
2016-12-17 20:08:27 +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.2/skinny-2.3.2.tar.gz"
sha256 "8898d62996b7406a5b23276a3c942d5b2ce5b77a9e7b26de5725cbd896bf7017"
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