1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-01-11 18:24:43 +02:00

Handle start args

This commit is contained in:
Laurent Cozic 2017-06-25 23:20:07 +01:00
parent e37604ddba
commit 4917d551bc
5 changed files with 539 additions and 508 deletions

File diff suppressed because it is too large Load Diff

View File

@ -2,4 +2,5 @@
CLIENT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
rm -f "$CLIENT_DIR/app/lib"
ln -s "$CLIENT_DIR/../lib" "$CLIENT_DIR/app"
ln -s "$CLIENT_DIR/../lib" "$CLIENT_DIR/app"
npm run build

View File

@ -1,5 +1,8 @@
#!/bin/bash
set -e
CLIENT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
npm version patch
bash $CLIENT_DIR/build.sh
cp "$CLIENT_DIR/package.json" build/
cp "$CLIENT_DIR/../lib/package.json" build/lib

View File

@ -1,6 +1,6 @@
{
"name": "joplin-cli",
"version": "0.8.0",
"version": "0.8.9",
"bin": {
"joplin": "./main.sh"
},

View File

@ -1,4 +1,5 @@
#!/bin/bash
set -e
CLIENT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
bash $CLIENT_DIR/build.sh
npm run build && NODE_PATH="$CLIENT_DIR/build/" node build/main.js
NODE_PATH="$CLIENT_DIR/build/" node build/main.js --profile ~/Temp/TestJoplin