1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-11-24 08:12:24 +02:00
joplin/CliClient/build.sh

13 lines
355 B
Bash
Raw Normal View History

2017-06-25 18:30:44 +02:00
#!/bin/bash
2017-07-18 20:04:47 +02:00
set -e
2017-06-25 18:30:44 +02:00
CLIENT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
2017-06-27 22:16:03 +02:00
mkdir -p "$CLIENT_DIR/build"
2017-06-25 18:30:44 +02:00
rm -f "$CLIENT_DIR/app/lib"
2017-07-05 22:34:25 +02:00
ln -s "$CLIENT_DIR/../ReactNativeClient/lib" "$CLIENT_DIR/app"
2017-06-27 22:16:03 +02:00
cp "$CLIENT_DIR/package.json" "$CLIENT_DIR/build"
2017-07-18 20:04:47 +02:00
yarn run build
NODE_PATH="$CLIENT_DIR/build" node "$CLIENT_DIR/build/build-translation.js" --silent