We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 43bf540 commit cc3752dCopy full SHA for cc3752d
1 file changed
Formula/clojure@1.12.4.1607.rb
@@ -0,0 +1,24 @@
1
+class ClojureAT11241607 < Formula
2
+ desc "The Clojure Programming Language"
3
+ homepage "https://clojure.org"
4
+ url "https://github.com/clojure/brew-install/releases/download/1.12.4.1607/clojure-tools-1.12.4.1607.tar.gz"
5
+ mirror "https://download.clojure.org/install/clojure-tools-1.12.4.1607.tar.gz"
6
+ sha256 "57024e5cdd288a3f13ec9c7be481dbc502e4cf329ed93fe34d8729d6271975c9"
7
+ license "EPL-1.0"
8
+
9
+ depends_on "rlwrap"
10
11
+ uses_from_macos "ruby" => :build
12
13
+ def install
14
+ system "./install.sh", prefix
15
+ end
16
17
+ test do
18
+ ENV["TERM"] = "xterm"
19
+ system("#{bin}/clj -M -e nil")
20
+ %w[clojure clj].each do |clj|
21
+ assert_equal "2", shell_output("#{bin}/#{clj} -M -e \"(+ 1 1)\"").strip
22
23
24
+end
0 commit comments