homebrew-core/Formula/boot-clj.rb

22 lines
467 B
Ruby
Raw Normal View History

class BootClj < Formula
desc "Build tooling for Clojure"
homepage "http://boot-clj.com"
url "https://github.com/boot-clj/boot-bin/releases/download/2.5.2/boot.sh",
:using => :nounzip
sha256 "895def8ef37f4b78bb37a26566ce970dc24219e880154a18ef7ade5a778d3a2f"
2015-10-23 08:32:56 +00:00
bottle :unneeded
2015-10-23 08:52:09 +00:00
depends_on :java
def install
bin.install "boot.sh" => "boot"
end
test do
2015-12-18 23:40:44 +00:00
ENV.java_cache
system "#{bin}/boot", "repl", "-e", "(System/exit 0)"
end
end