1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-12-12 08:54:00 +02:00
joplin/ElectronClient/build.sh
2019-12-17 00:40:49 +00:00

13 lines
239 B
Bash
Executable File

#!/bin/bash
ROOT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
BUILD_DIR="$ROOT_DIR/app"
rsync -a --delete "$ROOT_DIR/../ReactNativeClient/lib/" "$BUILD_DIR/lib/"
cd "$ROOT_DIR/.."
npm run tsc
cd "$BUILD_DIR"
npm run compile