20 lines
496 B
Ruby
20 lines
496 B
Ruby
class BootClj < Formula
|
|
desc "Build tooling for Clojure"
|
|
homepage "http://boot-clj.com"
|
|
url "https://github.com/boot-clj/boot/releases/download/2.2.0/boot.sh",
|
|
:using => :nounzip
|
|
sha256 "2e7d9c501ba3e59ae9f23ce21a8a9f8d24177a346238ee3710f7dd0adbddea33"
|
|
|
|
bottle :unneeded
|
|
|
|
depends_on :java
|
|
|
|
def install
|
|
bin.install "boot.sh" => "boot"
|
|
end
|
|
|
|
test do
|
|
ENV["_JAVA_OPTIONS"] = "-Duser.home=#{testpath}"
|
|
system "#{bin}/boot", "repl", "-e", "(System/exit 0)"
|
|
end
|
|
end
|