Skip to content

Instantly share code, notes, and snippets.

@othiym23 othiym23/test-npm.patch
Last active Aug 29, 2015

Embed
What would you like to do?
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
You can’t perform that action at this time.