joplin/CliClient/run.sh

7 lines
233 B
Bash
Raw Normal View History

2017-06-05 22:00:02 +00:00
#!/bin/bash
CLIENT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
2017-06-07 19:21:04 +00:00
rm -f "$CLIENT_DIR/app/src"
ln -s "$CLIENT_DIR/../ReactNativeClient/src" "$CLIENT_DIR/app"
2017-06-11 21:11:14 +00:00
npm run build && NODE_PATH="$CLIENT_DIR/build/" node build/cmd.js