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

10 lines
383 B
Bash
Raw Normal View History

2017-06-13 22:58:17 +02:00
#!/bin/bash
ROOT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
BUILD_DIR="$ROOT_DIR/tests-build"
2017-06-13 22:58:17 +02:00
rsync -a --exclude "node_modules/" "$ROOT_DIR/tests/" "$BUILD_DIR/"
rsync -a "$ROOT_DIR/../ReactNativeClient/lib/" "$BUILD_DIR/lib/"
rsync -a "$ROOT_DIR/build/locales/" "$BUILD_DIR/locales/"
mkdir -p "$BUILD_DIR/data"
2017-06-13 22:58:17 +02:00
2017-12-04 20:16:14 +02:00
(cd "$ROOT_DIR" && npm test tests-build/synchronizer.js)