File tree Expand file tree Collapse file tree 1 file changed +24
-0
lines changed
Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Original file line number Diff line number Diff line change 1+ class ClojureAT11211558 < Formula
2+ desc "The Clojure Programming Language"
3+ homepage "https://clojure.org"
4+ url "https://github.com/clojure/brew-install/releases/download/1.12.1.1558/clojure-tools-1.12.1.1558.tar.gz"
5+ mirror "https://download.clojure.org/install/clojure-tools-1.12.1.1558.tar.gz"
6+ sha256 "ef8b51e0d521ee671b2ffb22605be21e3fabb441baf5af50cdc1072e6073bf58"
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+ end
23+ end
24+ end
You can’t perform that action at this time.
0 commit comments