homebrew-core/Formula/leiningen.rb

17 lines
445 B
Ruby
Raw Normal View History

require 'formula'
class Leiningen <Formula
2009-12-11 07:19:53 +00:00
url 'http://github.com/technomancy/leiningen/tarball/1.0.1'
homepage 'http://github.com/technomancy/leiningen'
2009-12-11 07:19:53 +00:00
md5 'eb287442bb1bcac2de537d00c4d1b1d3'
def install
system "bin/lein self-install"
prefix.install 'bin'
2009-12-11 07:19:53 +00:00
# Install the lein bash completion file
mv 'bash_completion.bash', 'lein-completion.bash'
2009-12-11 07:19:53 +00:00
(etc+'bash_completion.d').install 'lein-completion.bash'
end
end