mirror of
https://github.com/laurent22/joplin.git
synced 2024-12-24 10:27:10 +02:00
13 lines
355 B
Bash
Executable File
13 lines
355 B
Bash
Executable File
#!/bin/bash
|
|
set -e
|
|
|
|
CLIENT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
|
|
|
mkdir -p "$CLIENT_DIR/build"
|
|
rm -f "$CLIENT_DIR/app/lib"
|
|
ln -s "$CLIENT_DIR/../ReactNativeClient/lib" "$CLIENT_DIR/app"
|
|
cp "$CLIENT_DIR/package.json" "$CLIENT_DIR/build"
|
|
|
|
yarn run build
|
|
|
|
NODE_PATH="$CLIENT_DIR/build" node "$CLIENT_DIR/build/build-translation.js" --silent |