homebrew-core/Formula/plenv.rb

20 lines
462 B
Ruby
Raw Normal View History

require 'formula'
class Plenv < Formula
homepage 'https://github.com/tokuhirom/plenv'
url 'https://github.com/tokuhirom/plenv/archive/1.4.7.tar.gz'
sha1 '023c1d7eeba3ae86ad534db9473645070a043437'
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