1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-12-03 08:35:29 +02:00
joplin/CliClient/run_test.sh

8 lines
294 B
Bash
Raw Normal View History

2017-06-13 22:58:17 +02:00
#!/bin/bash
CLIENT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
2017-06-14 00:39:45 +02:00
rm -f "$CLIENT_DIR/tests-build/src"
mkdir -p "$CLIENT_DIR/tests-build"
ln -s "$CLIENT_DIR/build/src" "$CLIENT_DIR/tests-build"
2017-06-13 22:58:17 +02:00
2017-06-14 00:39:45 +02:00
npm run build && NODE_PATH="$CLIENT_DIR/tests-build/" npm test tests-build/synchronizer.js