Clojure 1.4.0
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
parent
57548dd29e
commit
5d94cf0534
1 changed files with 5 additions and 5 deletions
|
@ -1,8 +1,8 @@
|
|||
require 'formula'
|
||||
|
||||
class Clojure < Formula
|
||||
url 'http://repo1.maven.org/maven2/org/clojure/clojure/1.3.0/clojure-1.3.0.zip'
|
||||
md5 'de91ee9914017a38c7cc391ab8fcbc1a'
|
||||
url 'http://repo1.maven.org/maven2/org/clojure/clojure/1.4.0/clojure-1.4.0.zip'
|
||||
md5 'db17baaea5bc90687c6293260499cca8'
|
||||
head 'https://github.com/clojure/clojure.git'
|
||||
homepage 'http://clojure.org/'
|
||||
|
||||
|
@ -12,7 +12,7 @@ class Clojure < Formula
|
|||
# With no arguments runs Clojure's REPL.
|
||||
|
||||
# Put the Clojure jar from the cellar and the current folder in the classpath.
|
||||
CLOJURE=$CLASSPATH:#{prefix}/clojure-1.3.0.jar:${PWD}
|
||||
CLOJURE=$CLASSPATH:#{prefix}/clojure-1.4.0.jar:${PWD}
|
||||
|
||||
if [ "$#" -eq 0 ]; then
|
||||
java -cp "$CLOJURE" clojure.main --repl
|
||||
|
@ -24,8 +24,8 @@ class Clojure < Formula
|
|||
|
||||
def install
|
||||
system "ant" if ARGV.build_head?
|
||||
prefix.install 'clojure-1.3.0.jar'
|
||||
(prefix+'clojure-1.3.0.jar').chmod(0644) # otherwise it's 0600
|
||||
prefix.install 'clojure-1.4.0.jar'
|
||||
(prefix+'clojure-1.4.0.jar').chmod(0644) # otherwise it's 0600
|
||||
(prefix+'classes').mkpath
|
||||
(bin+'clj').write script
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue