diff options
author | Daijiro Wachi <daijiro.wachi@gmail.com> | 2017-04-04 23:19:33 +0300 |
---|---|---|
committer | Kat Marchán <kzm@sykosomatic.org> | 2017-04-28 01:01:40 +0300 |
commit | ee23f43bd339777399973cb0aded07cc3a004735 (patch) | |
tree | c9414b7931ffc183f150d32ebac345147049c3d1 /Makefile | |
parent | 7ecd3104e93544cb43dbecb3dd4b1822ac820669 (diff) |
cli: replace cli.js with bin/npm-cli.js and remove cli.js (#12096)
* scripts: replace cli.js with npm-cli.js
* cli: remove unused file cli.js
* docs: replace cli.js with bin/npm-cli.js
PR-URL: https://github.com/npm/npm/pull/12096
Credit: @watilde
Reviewed-By: @zkat
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 18 |
1 files changed, 9 insertions, 9 deletions
@@ -53,23 +53,23 @@ 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 ${NPMOPTS} + node bin/npm-cli.js install -g -f npm ${NPMOPTS} install: all - node cli.js install -g -f ${NPMOPTS} + node bin/npm-cli.js install -g -f ${NPMOPTS} # backwards compat dev: install link: uninstall - node cli.js link -f + node bin/npm-cli.js link -f clean: markedclean marked-manclean doc-clean uninstall rm -rf npmrc - node cli.js cache clean + node bin/npm-cli.js cache clean uninstall: - node cli.js rm npm -g -f + node bin/npm-cli.js rm npm -g -f doc: $(mandocs) $(htmldocs) @@ -143,19 +143,19 @@ 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 --no-timing + node bin/npm-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 --no-timing + node bin/npm-cli.js install marked-man --no-global --no-timing doc: man man: $(cli_docs) test: doc - node cli.js test + node bin/npm-cli.js test tag: node bin/npm-cli.js tag npm@$(PUBLISHTAG) latest @@ -173,7 +173,7 @@ publish: gitclean ls-ok link doc-clean doc node bin/npm-cli.js publish --tag=$(PUBLISHTAG) release: gitclean ls-ok markedclean marked-manclean doc-clean doc - node cli.js prune --production + node bin/npm-cli.js prune --production @bash scripts/release.sh sandwich: |