1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-02-13 19:42:36 +02:00
joplin/CliClient/build.sh

11 lines
349 B
Bash
Raw Normal View History

2017-06-25 17:30:44 +01:00
#!/bin/bash
CLIENT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
2017-06-27 20:16:03 +00:00
mkdir -p "$CLIENT_DIR/build"
2017-06-25 17:30:44 +01:00
rm -f "$CLIENT_DIR/app/lib"
2017-06-25 23:20:07 +01:00
ln -s "$CLIENT_DIR/../lib" "$CLIENT_DIR/app"
2017-06-27 20:16:03 +00: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