1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-12-27 10:32:58 +02:00
joplin/CliClient/build.sh

11 lines
349 B
Bash
Raw Normal View History

2017-06-25 18:30:44 +02:00
#!/bin/bash
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-06-26 00:20:07 +02:00
ln -s "$CLIENT_DIR/../lib" "$CLIENT_DIR/app"
2017-06-27 22:16:03 +02:00
cp "$CLIENT_DIR/package.json" "$CLIENT_DIR/build"
# Always keep this as the last line so that the exist
# code of build.sh is the same as the build command:
npm run build