aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/plenv.rb
blob: a0f2db7ecda82d77a1e6ec2002d9e4d7a5527b8c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
require 'formula'

class Plenv < Formula
  homepage 'https://github.com/tokuhirom/plenv'
  url 'https://github.com/tokuhirom/plenv/archive/1.4.15.tar.gz'
  sha1 '34c8524b990010c6d1d1d8508b880904b327fe03'

  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