From 79bfce3b88ecef43e0842a39c1b366dbeaab7329 Mon Sep 17 00:00:00 2001 From: tell-k Date: Tue, 29 Apr 2014 23:36:05 +0900 Subject: nodenv 0.3.3 Closes #28830. Signed-off-by: Adam Vandenberg --- Library/Formula/nodenv.rb | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 Library/Formula/nodenv.rb (limited to 'Library/Formula') diff --git a/Library/Formula/nodenv.rb b/Library/Formula/nodenv.rb new file mode 100644 index 000000000..f2deefcff --- /dev/null +++ b/Library/Formula/nodenv.rb @@ -0,0 +1,18 @@ +require "formula" + +class Nodenv < Formula + 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" + sha1 "20f0cf2b698925c950de4be1899c615fc509d4b3" + + 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 -- cgit v1.2.3