aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorJohn Earles2011-12-05 19:54:10 -0500
committerCharlie Sharpsteen2011-12-06 10:45:24 -0800
commit7e9f295cc90f06358a228495f0c954a33a36ea5b (patch)
tree7c5c1c95235567fb4531cf3e534796914999e75e /Library/Formula
parent44a98ba0eb63b6e680cbc8dd7e3fdfaace36402a (diff)
downloadhomebrew-7e9f295cc90f06358a228495f0c954a33a36ea5b.tar.bz2
node: Add comment explaining why --without-npm
Users looking at the formula don't know why we are not installing npm. Add a comment pointing to the original discussion. Closes #8989. Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/node.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/Library/Formula/node.rb b/Library/Formula/node.rb
index 200955c4e..6e626b3a2 100644
--- a/Library/Formula/node.rb
+++ b/Library/Formula/node.rb
@@ -24,6 +24,7 @@ class Node < Formula
s.gsub! '/opt/local/lib', '/usr/lib'
end
+ # Why skip npm install? Read https://github.com/mxcl/homebrew/pull/8784.
args = ["--prefix=#{prefix}", "--without-npm"]
args << "--debug" if ARGV.include? '--debug'