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-11-01 20:59:12 +00:00
|
|
|
url "https://github.com/boot-clj/boot-bin/releases/download/2.4.2/boot.sh",
|
2015-01-04 10:42:45 +00:00
|
|
|
:using => :nounzip
|
2015-11-01 20:59:12 +00:00
|
|
|
sha256 "8c045823c042e612d140528b4be136fcfa8bf1f1df390906bffcee6df46ca7a1"
|
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-10-23 08:52:09 +00:00
|
|
|
ENV["_JAVA_OPTIONS"] = "-Duser.home=#{testpath}"
|
2015-01-04 10:42:45 +00:00
|
|
|
system "#{bin}/boot", "repl", "-e", "(System/exit 0)"
|
|
|
|
end
|
|
|
|
end
|