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

class Autoenv < Formula
  homepage 'https://github.com/kennethreitz/autoenv'
  url 'https://github.com/kennethreitz/autoenv/archive/v0.1.0.tar.gz'
  sha1 '4d773ba8162b8f49abdfc07d0f8c956aa3353e0c'

  head 'https://github.com/kennethreitz/autoenv.git'

  def install
    prefix.install "activate.sh"
  end

  def caveats; <<-EOS.undent
    To finish the installation, source activate.sh in your shell:
      source #{opt_prefix}/activate.sh
    EOS
  end
end