aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authortell-k2014-04-29 23:36:05 +0900
committerAdam Vandenberg2014-05-02 07:28:08 -0700
commit79bfce3b88ecef43e0842a39c1b366dbeaab7329 (patch)
tree6a3f79f4c3047d812d3842855b1074cc8a3573b6 /Library
parent1c0ad3261fce96955b54157a344a23cd6a5808ec (diff)
downloadhomebrew-79bfce3b88ecef43e0842a39c1b366dbeaab7329.tar.bz2
nodenv 0.3.3
Closes #28830. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/nodenv.rb18
1 files changed, 18 insertions, 0 deletions
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