![ljharb@gmail.com](/assets/img/avatar_default.png)
5 changed files with 19 additions and 2 deletions
@ -0,0 +1,17 @@
@@ -0,0 +1,17 @@
|
||||
#!/usr/bin/env bash |
||||
|
||||
set -e |
||||
|
||||
echo 'Updating test mocks...' |
||||
|
||||
MOCKS_DIR="$PWD/test/fast/Unit tests/mocks" |
||||
|
||||
echo "creating $MOCKS_DIR" |
||||
mkdir -p MOCKS_DIR |
||||
|
||||
. "$NVM_DIR/nvm.sh" |
||||
|
||||
nvm_download -L -s "$NVM_NODEJS_ORG_MIRROR/index.tab" -o - > "$MOCKS_DIR/nodejs.org-dist-index.tab" |
||||
nvm_download -L -s "$NVM_IOJS_ORG_MIRROR/index.tab" -o - > "$MOCKS_DIR/iojs.org-dist-index.tab" |
||||
|
||||
echo "done! Don't forget to git commit them." |
Loading…
Reference in new issue