homebrew-core/Formula/autoenv.rb
2012-11-25 11:42:57 -08:00

22 lines
549 B
Ruby

require 'formula'
class Autoenv < Formula
homepage 'https://github.com/kennethreitz/autoenv'
url 'https://github.com/kennethreitz/autoenv/tarball/v0.1.0'
sha1 '0682a230af78e72144dd9190ba216dada851235a'
head 'https://github.com/kennethreitz/autoenv.git', :branch => 'master'
def install
prefix.install "activate.sh"
end
def caveats; <<-EOS.undent
Autoenv was installed to:
#{opt_prefix}
To finish the installation, source activate.sh in your shell:
source #{opt_prefix}/activate.sh
EOS
end
end