diff options
| author | Max Howell | 2009-12-22 04:43:51 +0000 |
|---|---|---|
| committer | Max Howell | 2009-12-22 04:43:51 +0000 |
| commit | 14a174c479223a4ef985968e312b01c570379f46 (patch) | |
| tree | fe080016e51bdadf075844130f5803f3496d7ecb /Library/Formula | |
| parent | 96a710cf07c35b5a06dd3d49e6da8140139bcc8f (diff) | |
| download | homebrew-14a174c479223a4ef985968e312b01c570379f46.tar.bz2 | |
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.
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/leiningen.rb | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/Library/Formula/leiningen.rb b/Library/Formula/leiningen.rb index bead2990e..df0959c93 100644 --- a/Library/Formula/leiningen.rb +++ b/Library/Formula/leiningen.rb @@ -1,18 +1,16 @@ require 'formula' class Leiningen <Formula - version '1.0.1' 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 %w[bin README.md COPYING NEWS] + prefix.install 'bin' # Install the lein bash completion file - system "mv bash_completion.bash lein-completion.bash" + mv 'bash_completion.bash', 'lein-completion.bash' (etc+'bash_completion.d').install 'lein-completion.bash' - end end |
