2012-02-13 18:26:44 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Autoenv < Formula
|
|
|
|
homepage 'https://github.com/kennethreitz/autoenv'
|
2012-02-19 16:04:03 +00:00
|
|
|
url 'https://github.com/kennethreitz/autoenv/tarball/v0.1.0'
|
2012-09-03 18:33:56 +00:00
|
|
|
sha1 '0682a230af78e72144dd9190ba216dada851235a'
|
2012-02-13 18:26:44 +00:00
|
|
|
|
|
|
|
head 'https://github.com/kennethreitz/autoenv.git', :branch => 'master'
|
|
|
|
|
|
|
|
def install
|
|
|
|
prefix.install "activate.sh"
|
|
|
|
end
|
|
|
|
|
|
|
|
def caveats; <<-EOS.undent
|
|
|
|
Autoenv was installed to:
|
|
|
|
#{prefix}
|
|
|
|
|
|
|
|
To finish the installation, source activate.sh in your shell:
|
|
|
|
source #{prefix}/activate.sh
|
|
|
|
EOS
|
|
|
|
end
|
|
|
|
end
|