aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authordarron froese2013-06-08 14:43:44 -0600
committerAdam Vandenberg2013-06-14 11:13:02 -0700
commitd5383ed6e290a97609826ef61b0d9c5973bb1fcf (patch)
tree287df4bc8a3aeadf98f7409a104a389be92eb45f /Library
parent50cca7e9274375d4c88fa1799b01d785388fad16 (diff)
downloadhomebrew-d5383ed6e290a97609826ef61b0d9c5973bb1fcf.tar.bz2
exenv 0.1.0
Closes #20355. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/exenv.rb23
1 files changed, 23 insertions, 0 deletions
diff --git a/Library/Formula/exenv.rb b/Library/Formula/exenv.rb
new file mode 100644
index 000000000..d4fbbb1bc
--- /dev/null
+++ b/Library/Formula/exenv.rb
@@ -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