homebrew-core/Formula/nodenv.rb
BrewTestBot 95884bae22 Formula files style updates.
Closes Homebrew/homebrew#42407.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-08-03 14:21:42 +01:00

17 lines
519 B
Ruby

class Nodenv < Formula
desc "NodeJS version management"
homepage "https://github.com/wfarr/nodenv"
head "https://github.com/wfarr/nodenv.git"
url "https://github.com/wfarr/nodenv/archive/v0.3.3.tar.gz"
sha256 "50e18fe85e15b9c2e1a81b39279ab46413280b6c78434a63b1942984ff4d65bf"
def install
prefix.install "bin", "libexec"
end
def caveats; <<-EOS.undent
To enable shims and autocompletion add to your profile:
if which nodenv > /dev/null; then eval "$(nodenv init -)"; fi
EOS
end
end