mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-08-01 12:42:28 +08:00
10 lines
506 B
Bash
Executable File
10 lines
506 B
Bash
Executable File
#!/bin/bash
|
|
ROOT_DIR=/Users/laurent/src/joplin
|
|
CURRENT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
|
set -e
|
|
npm run build
|
|
# rsync -a ./dist/ $ROOT_DIR/ElectronClient/app/node_modules/joplin-turndown-plugin-gfm/dist/
|
|
# rsync -a ./lib/ $ROOT_DIR/ElectronClient/app/node_modules/joplin-turndown-plugin-gfm/lib/
|
|
rm -rf $ROOT_DIR/CliClient/node_modules/joplin-turndown-plugin-gfm
|
|
ln -s "$CURRENT_DIR" $ROOT_DIR/CliClient/node_modules/joplin-turndown-plugin-gfm
|
|
$ROOT_DIR/CliClient/run_test.sh HtmlToMd |