Skip to content

Commit 0e1ed12

Browse files
committed
Make sure to link to the right folder ...
1 parent 8f787c6 commit 0e1ed12

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

docs/release-source/release/examples/run-test.sh

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
11
#!/bin/bash
2-
32
# Link 'sinon' to local development dir
43
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
5-
cd "$SCRIPT_DIR/.."
4+
SINON_ROOT="$SCRIPT_DIR/../../../.."
5+
6+
cd "$SINON_ROOT"
67
npm link
78

89
# Install examples project and link to local sinon folder
910
cd "$SCRIPT_DIR"
11+
rm -r node_modules 2>/dev/null
1012
npm install --ignore-scripts
1113
npm link sinon
1214

0 commit comments

Comments
 (0)