Skip to content
This repository has been archived by the owner on Aug 11, 2022. It is now read-only.

Commit

Permalink
Add an NPMOPTS variable to toplevel install
Browse files Browse the repository at this point in the history
This allows make install from a script to override userconfig in particular
  • Loading branch information
aredridel authored and othiym23 committed Jan 30, 2015
1 parent d8fdad8 commit eeff04d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -85,10 +85,10 @@ latest:
@echo "Installing latest published npm"
@echo "Use 'make install' or 'make link' to install the code"
@echo "in this folder that you're looking at right now."
node cli.js install -g -f npm
node cli.js install -g -f npm ${NPMOPTS}

install: all
node cli.js install -g -f
node cli.js install -g -f ${NPMOPTS}

# backwards compat
dev: install
Expand Down

0 comments on commit eeff04d

Please sign in to comment.