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