homebrew-core/Formula/direnv.rb

23 lines
529 B
Ruby
Raw Normal View History

require 'formula'
class Direnv < Formula
homepage 'http://www.direnv.net'
2012-02-13 06:19:19 +00:00
url 'https://github.com/zimbatm/direnv/tarball/v0.1.127'
md5 '0a0f7a2d738b97c8976fe7e28c4e062c'
head 'https://github.com/zimbatm/direnv.git'
def install
system "make", "install", "DESTDIR=#{prefix}"
end
2012-02-13 06:19:19 +00:00
def caveats; <<-EOS.undent
At the END of your ~/.bashrc or ~/.zshrc, add the following line:
eval `direnv hook $0`
See the wiki for docs and examples:
https://github.com/zimbatm/direnv/wiki/
EOS
end
end