homebrew-core/Formula/yeti.rb
BrewTestBot 95884bae22 Formula files style updates.
Closes Homebrew/homebrew#42407.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-08-03 14:21:42 +01:00

21 lines
600 B
Ruby

class Yeti < Formula
desc "ML-style functional programming language that runs on the JVM"
homepage "https://mth.github.io/yeti/"
url "https://github.com/mth/yeti/archive/v0.9.9.tar.gz"
sha256 "45854dc436c7204daa481fda5fab8f1ce11d9a353ab5136ba7fc75ff0e222454"
head "https://github.com/mth/yeti.git"
depends_on :ant => :build
depends_on :java => "1.7"
def install
system "ant", "jar"
libexec.install "yeti.jar"
bin.write_jar_script libexec/"yeti.jar", "yeti", "-server"
end
test do
assert_equal "3\n", shell_output("#{bin}/yeti -e 'do x: x+1 done 2'")
end
end