2009-11-22 04:08:42 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Leiningen < Formula
|
2010-12-06 09:54:10 +00:00
|
|
|
homepage 'http://github.com/technomancy/leiningen'
|
2012-03-31 11:14:00 +00:00
|
|
|
url 'http://github.com/technomancy/leiningen/tarball/1.7.1'
|
2012-09-03 18:33:56 +00:00
|
|
|
sha1 '80361e88cc5a88553d64e0d98ef542ab74b7148f'
|
2011-09-17 18:56:16 +00:00
|
|
|
|
2012-04-19 02:37:43 +00:00
|
|
|
head 'https://github.com/technomancy/leiningen.git'
|
2009-11-22 04:08:42 +00:00
|
|
|
|
2012-09-21 18:47:21 +00:00
|
|
|
devel do
|
|
|
|
url 'https://github.com/technomancy/leiningen/tarball/2.0.0-preview10'
|
|
|
|
version '2.0.0-preview10'
|
|
|
|
sha1 'e6bef03e50c2f0bfaa927c52953440c24a9ce235'
|
|
|
|
end
|
|
|
|
|
2009-11-22 04:08:42 +00:00
|
|
|
def install
|
2010-07-18 22:11:41 +00:00
|
|
|
bin.install "bin/lein"
|
2012-03-12 19:01:38 +00:00
|
|
|
system "#{bin}/lein", "self-install"
|
2010-02-18 18:05:01 +00:00
|
|
|
(etc+'bash_completion.d').install 'bash_completion.bash' => 'lein-completion.bash'
|
2009-11-22 04:08:42 +00:00
|
|
|
end
|
2010-07-18 22:11:41 +00:00
|
|
|
|
|
|
|
def caveats; <<-EOS.undent
|
|
|
|
Standalone jar and dependencies installed to:
|
|
|
|
$HOME/.m2/repository
|
|
|
|
EOS
|
|
|
|
end
|
2009-11-22 04:08:42 +00:00
|
|
|
end
|