Created
August 20, 2013 08:04
-
-
Save zakgrant/6278480 to your computer and use it in GitHub Desktop.
Modified brew formula for jenv
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'formula' | |
class Jenv < Formula | |
homepage 'https://github.com/gcuisinier/jenv' | |
url 'https://github.com/gcuisinier/jenv/archive/0.1.1.tar.gz' | |
sha1 '5885dd46658d92cf756160484f01936a1bdd77ce' | |
def install | |
libexec.install Dir['*'] | |
bin.write_exec_script libexec/'bin/jenv' | |
end | |
def caveats; <<-EOS.undent | |
To enable shims and autocompletion add to your profile: | |
if which jenv > /dev/null; then eval "$(jenv init -)"; fi | |
To use Homebrew's directories rather than ~/.jenv add to your profile: | |
export JENV_ROOT=#{opt_prefix} | |
EOS | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment