leiningen 2.3.0

This commit is contained in:
Misty De Meo 2013-08-11 23:06:24 -07:00
parent 35a61a43ea
commit 7e7c3adca5

View file

@ -1,22 +1,22 @@
require 'formula'
class LeiningenJar < Formula
url 'https://leiningen.s3.amazonaws.com/downloads/leiningen-2.2.0-standalone.jar', :using => :nounzip
sha1 '694c01251f71954e9d1d7003b42dee1b3a393191'
url 'https://leiningen.s3.amazonaws.com/downloads/leiningen-2.3.0-standalone.jar', :using => :nounzip
sha1 '17d7347a8bee5ee34c6191ded0af0f8d6b348319'
end
class Leiningen < Formula
homepage 'https://github.com/technomancy/leiningen'
url 'https://github.com/technomancy/leiningen/archive/2.2.0.tar.gz'
sha1 '0ca7e4ea68b490171d869bd5cc3912feba8d7ee9'
url 'https://github.com/technomancy/leiningen/archive/2.3.0.tar.gz'
sha1 'f19921fb05b5313a6ea654602e015ca9ed8ece9b'
head 'https://github.com/technomancy/leiningen.git'
def install
LeiningenJar.new.brew { libexec.install 'leiningen-2.2.0-standalone.jar' }
LeiningenJar.new.brew { libexec.install "leiningen-#{version}-standalone.jar" }
# bin/lein autoinstalls and autoupdates, which doesn't work too well for us
inreplace "bin/lein-pkg" do |s|
s.change_make_var! 'LEIN_JAR', libexec/'leiningen-2.2.0-standalone.jar'
s.change_make_var! 'LEIN_JAR', libexec/"leiningen-#{version}-standalone.jar"
end
bin.install "bin/lein-pkg" => 'lein'
bash_completion.install 'bash_completion.bash' => 'lein-completion.bash'