Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorisaacs <i@izs.me>2012-01-13 20:38:54 +0400
committerisaacs <i@izs.me>2012-01-13 20:41:06 +0400
commitd8799b97db6661a85da5548da5bade6b921bb920 (patch)
treec31b4957c4ff11ff0e9d85b7281f57ad72c222af /Makefile
parentc18fe966ddbeb66c8a9b9aa8ab4899166e6986f5 (diff)
update makefile for submodule removal
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile11
1 files changed, 4 insertions, 7 deletions
diff --git a/Makefile b/Makefile
index 7d3e10653..185cac8e7 100644
--- a/Makefile
+++ b/Makefile
@@ -27,12 +27,9 @@ mandocs = $(api_mandocs) $(cli_mandocs)
htmldocs = $(api_htmldocs) $(cli_htmldocs)
-all: submodules doc
+all: doc
-submodules:
- ! [ -d .git ] || git submodule update --init --recursive
-
-latest: submodules
+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."
@@ -51,7 +48,7 @@ clean: doc-clean uninstall
rm npmrc
node cli.js cache clean
-uninstall: submodules
+uninstall:
node cli.js rm npm -g -f
doc: $(mandocs) $(htmldocs)
@@ -101,7 +98,7 @@ doc: man
man: $(cli_docs) $(api_docs)
-test: submodules
+test:
node cli.js test
version: link