homebrew-core/Formula/plenv.rb

20 lines
455 B
Ruby
Raw Normal View History

require 'formula'
class Plenv < Formula
homepage 'https://github.com/tokuhirom/plenv'
url 'https://github.com/tokuhirom/plenv/tarball/1.4.3'
sha1 '1911aef906343bfc66ecd92274de454e55fc0e9c'
head 'https://github.com/tokuhirom/plenv.git'
def install
prefix.install 'bin', 'share'
end
def caveats; <<-EOS.undent
To enable shims add to your profile:
if which plenv > /dev/null; then eval "$(plenv init -)"; fi
EOS
end
end