joplin/CliClient/build.sh

12 lines
361 B
Bash
Raw Normal View History

2017-06-25 16:30:44 +00:00
#!/bin/bash
2017-07-18 18:04:47 +00:00
ROOT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
2017-11-03 18:39:08 +00:00
BUILD_DIR="$ROOT_DIR/build"
2017-06-25 16:30:44 +00:00
rsync -a --exclude "node_modules/" "$ROOT_DIR/app/" "$BUILD_DIR/"
2017-11-03 18:39:08 +00:00
rsync -a "$ROOT_DIR/../ReactNativeClient/lib/" "$BUILD_DIR/lib/"
cp "$ROOT_DIR/package.json" "$BUILD_DIR"
chmod 755 "$BUILD_DIR/main.js"
# cd "$BUILD_DIR"
# node build-translation.js --silent