Skip to content

Instantly share code, notes, and snippets.

@othiym23
Last active August 29, 2015 14:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save othiym23/4948d3fcc0cdce19534b to your computer and use it in GitHub Desktop.
Save othiym23/4948d3fcc0cdce19534b to your computer and use it in GitHub Desktop.
for tjfontaine
diff --git a/Makefile b/Makefile
index 11304e1..dc5f1cd 100644
--- a/Makefile
+++ b/Makefile
@@ -147,7 +147,13 @@ test-debugger: all
$(PYTHON) tools/test.py debugger
test-npm: node
- ./node deps/npm/test/run.js
+ rm -rf npm-cache npm-tmp
+ mkdir npm-cache npm-tmp
+ PATH=$(shell pwd):$(PATH) \
+ npm_config_cache="$(shell pwd)/npm-cache" \
+ npm_config_tmp="$(shell pwd)/npm-tmp" \
+ make -C deps/npm clean install test-all && \
+ rm -rf npm-cache npm-tmp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment