homebrew-core/Formula/skinny.rb
Kazuhiro Sera 179b155259
skinny 3.0.1
Closes #35023.

Signed-off-by: Chongyu Zhu <i@lembacon.com>
2018-12-12 20:03:58 +08:00

22 lines
598 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/3.0.1/skinny-3.0.1.tar.gz"
sha256 "e81578959b8edf715a407aaf17d339ff5223d9c3654f308cd5bcee553e95eef8"
bottle :unneeded
depends_on :java => "1.8+"
def install
libexec.install Dir["*"]
(bin/"skinny").write <<~EOS
#!/bin/bash
export PATH=#{bin}:$PATH
PREFIX="#{libexec}" exec "#{libexec}/skinny" "$@"
EOS
end
test do
system bin/"skinny", "new", "myapp"
end
end