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>2013-10-03 13:58:55 +0400
committerisaacs <i@izs.me>2013-10-03 13:58:55 +0400
commit0a7e6b5cc8f2fb4362f87bf43d90e1528752b499 (patch)
treede0cf1878a635fac2bfc8d2da5e55719bee5dad0 /Makefile
parente439908766f32883f4d218b22fe8108bf0d1b5d9 (diff)
the tests require docs to be made already
Otherwise the `make test` command fails to find ronn when generating the docs for the first time in the prepublish step. Probably there's a better way to do this, since tarball generation requires a dev dep to be installed. But this works on Unix at least, and gets it by for now.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 28c7ff6b3..10c0c82a7 100644
--- a/Makefile
+++ b/Makefile
@@ -71,7 +71,7 @@ link: uninstall
node cli.js link -f
clean: ronnclean doc-clean uninstall
- rm npmrc
+ rm -rf npmrc
node cli.js cache clean
uninstall:
@@ -160,7 +160,7 @@ doc: man
man: $(cli_docs) $(api_docs)
-test:
+test: doc
node cli.js test
publish: link doc