aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/leiningen.rb
blob: dc3c39c5db3ffda1897c9ede7364cca17c9c3352 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
require 'formula'

class Leiningen <Formula
  url 'http://github.com/technomancy/leiningen/tarball/1.1.0'
  head 'http://github.com/technomancy/leiningen.git', :using => :git
  homepage 'http://github.com/technomancy/leiningen'
  md5 'f0c0ad3450c3979658aea443c560761a'

  def install
    system "bin/lein self-install"
    prefix.install 'bin'

    # Install the lein bash completion file
    (etc+'bash_completion.d').install 'bash_completion.bash' => 'lein-completion.bash'
  end
end