Permalink
Switch branches/tags
Nothing to show
Find file Copy path
c6b8e53 Sep 15, 2018
1 recent contributor

Users who have contributed to this file recently

24 lines (19 sloc) 574 Bytes
class Clojure < Formula
desc "The Clojure Programming Language"
homepage "https://clojure.org"
url "https://download.clojure.org/install/clojure-tools-1.9.0.394.tar.gz"
sha256 "658dcc1cb34797184dc8d437a3cdcbbaaad67435ef86f5b5b85dbbd075fc378e"
bottle :unneeded
depends_on :java => "1.8+"
depends_on "rlwrap"
def install
system "./install.sh", prefix
end
test do
ENV["TERM"] = "xterm"
system("#{bin}/clj -e nil")
%w[clojure clj].each do |clj|
assert_equal "2", shell_output("#{bin}/#{clj} -e \"(+ 1 1)\"").strip
end
end
end