mirror of
https://github.com/mistydemeo/tigerbrew.git
synced 2026-11-30 04:29:50 -05:00
22 lines
575 B
Ruby
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
|