leiningen: use new java_cache env

This commit is contained in:
Dominyk Tiller 2015-12-18 23:43:02 +00:00
parent a38b27a020
commit 194e6ae4d3

View file

@ -41,7 +41,8 @@ class Leiningen < Formula
end
test do
ENV["_JAVA_OPTIONS"] = "-Duser.home=#{ENV["HOME"]}"
ENV.java_cache
(testpath/"project.clj").write <<-EOS.undent
(defproject brew-test "1.0"
:dependencies [[org.clojure/clojure "1.5.1"]])