mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-07-29 19:12:27 +08:00
10 lines
502 B
Bash
10 lines
502 B
Bash
#!/bin/bash
|
|
ROOT_DIR=/mnt/d/Web/www/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 |