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

12 lines
320 B
Bash
Raw Normal View History

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