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:
authorRebecca Turner <me@re-becca.org>2017-02-25 03:17:18 +0300
committerRebecca Turner <me@re-becca.org>2017-04-15 06:16:22 +0300
commitf5e8becd05e0426379eb0c999abdbc8e87a7f6f2 (patch)
treed2082596c8b85dba7278690f1f6e9f04628d2400 /Makefile
parent8abb3c4e8f93892a3c60e51feb6c268eeb5605b4 (diff)
npm: Add timing diagnostics on --loglevel=timing
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index 8466cfad7..d0f94d68d 100644
--- a/Makefile
+++ b/Makefile
@@ -143,12 +143,12 @@ html/doc/misc/%.html: doc/misc/%.md $(html_docdeps)
marked: node_modules/.bin/marked
node_modules/.bin/marked:
- node cli.js install marked --no-global
+ node cli.js install marked --no-global --no-timing
marked-man: node_modules/.bin/marked-man
node_modules/.bin/marked-man:
- node cli.js install marked-man --no-global
+ node cli.js install marked-man --no-global --no-timing
doc: man
@@ -158,7 +158,7 @@ test: doc
node cli.js test
tag:
- npm tag npm@$(PUBLISHTAG) latest
+ node bin/npm-cli.js tag npm@$(PUBLISHTAG) latest
ls-ok:
node . ls >/dev/null
@@ -167,10 +167,10 @@ gitclean:
git clean -fd
publish: gitclean ls-ok link doc-clean doc
- @git push origin :v$(shell npm -v) 2>&1 || true
+ @git push origin :v$(shell node bin/npm-cli.js --no-timing -v) 2>&1 || true
git push origin $(BRANCH) &&\
git push origin --tags &&\
- npm publish --tag=$(PUBLISHTAG)
+ node bin/npm-cli.js publish --tag=$(PUBLISHTAG)
release: gitclean ls-ok markedclean marked-manclean doc-clean doc
node cli.js prune --production