joplin/CliClient/build.sh

7 lines
212 B
Bash
Raw Normal View History

2017-06-25 16:30:44 +00:00
#!/bin/bash
CLIENT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
rm -f "$CLIENT_DIR/app/lib"
2017-06-25 22:20:07 +00:00
ln -s "$CLIENT_DIR/../lib" "$CLIENT_DIR/app"
npm run build
cp "$CLIENT_DIR/package.json" "$CLIENT_DIR/build"