1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-02-04 19:16:07 +02:00
joplin/CliClient/install.sh

12 lines
301 B
Bash
Raw Normal View History

2017-06-25 17:30:44 +01:00
#!/bin/bash
2017-06-25 23:20:07 +01:00
set -e
2017-06-25 17:30:44 +01:00
CLIENT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
2017-06-25 23:20:07 +01:00
npm version patch
2017-06-25 17:30:44 +01:00
bash $CLIENT_DIR/build.sh
cp "$CLIENT_DIR/package.json" build/
cp "$CLIENT_DIR/../lib/package.json" build/lib
cp "$CLIENT_DIR/app/main.sh" build/
cd "$CLIENT_DIR/build"
sudo npm install -g --save
cd -