Files
tigerbrew/Library/Formula/leiningen.rb
T
Brett Koonce d38d02e625 leiningen 2.1.2
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-03-29 09:19:43 -07:00

22 lines
575 B
Ruby

require 'formula'
class Leiningen < Formula
homepage 'https://github.com/technomancy/leiningen'
url 'https://github.com/technomancy/leiningen/archive/2.1.2.tar.gz'
sha1 'ca1465b422277c0a1119392ab2e46ab4b805ed7a'
head 'https://github.com/technomancy/leiningen.git'
def install
bin.install "bin/lein"
system "#{bin}/lein", "self-install"
(etc+'bash_completion.d').install 'bash_completion.bash' => 'lein-completion.bash'
end
def caveats; <<-EOS.undent
Standalone jar and dependencies installed to:
$HOME/.m2/repository
EOS
end
end