homebrew-core/Formula/leiningen.rb
Max Howell 2dbaacec39 Clean up
Don't need to specify version as url is sufficient.

Homebrew installs COPYING and README.md for you.

Use Ruby functions where possible not BSD mv.
2009-12-22 04:43:51 +00:00

16 lines
445 B
Ruby

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