Skip to content

Commit

Permalink
exenv 0.1.0
Browse files Browse the repository at this point in the history
Closes Homebrew/legacy-homebrew#20355.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
  • Loading branch information
darron authored and adamv committed Jun 14, 2013
1 parent 753ef8e commit c2cc3f5
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions Formula/exenv.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
require 'formula'

class Exenv < Formula
homepage 'https://github.com/mururu/exenv'
url 'https://github.com/mururu/exenv/archive/v0.1.0.tar.gz'
sha1 '0984b6c260e42d750c8df68c8f48c19a90dc5db9'

head 'https://github.com/mururu/exenv.git'

def install
inreplace 'libexec/exenv', '/usr/local', HOMEBREW_PREFIX
prefix.install Dir['*']
end

def caveats; <<-EOS.undent
To use Homebrew's directories rather than ~/.exenv add to your profile:
export EXENV_ROOT=#{var}/exenv
To enable shims and autocompletion add to your profile:
if which exenv > /dev/null; then eval "$(exenv init -)"; fi
EOS
end
end

0 comments on commit c2cc3f5

Please sign in to comment.