text: expose correct registry to environment

This commit is contained in:
Stephan Bönnemann
2015-02-04 18:58:37 +01:00
parent a540c402a9
commit f44cedbaa7
2 changed files with 4 additions and 1 deletions
+3 -1
View File
@@ -1,5 +1,7 @@
#!/bin/sh
set -e
mkdir -p .tmp/modules
./node_modules/.bin/sinopia ./tests/config.yml & echo $! >> .tmp/sinopia.pid
@@ -12,4 +14,4 @@ cp ~/.npmrc .tmp/.npmrc
cp tests/.npmrc ~/.npmrc
npm config set registry http://localhost:4873/
npm config set registry http://127.0.0.1:4873/