mirror of
https://github.com/laurent22/joplin.git
synced 2024-12-24 10:27:10 +02:00
Chore: Fix test plugin update script missing several recently-added plugins (#9691)
This commit is contained in:
parent
1d176b31ff
commit
17bdec22ca
@ -1,23 +1,40 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
|
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
|
||||||
|
|
||||||
cd "$SCRIPT_DIR/jpl_test/" && yo joplin --update --skip-install --silent
|
update_plugin() {
|
||||||
|
echo "Updating $1..."
|
||||||
|
cd "$SCRIPT_DIR/$1" && yo joplin --update --skip-install --silent
|
||||||
|
echo "Done."
|
||||||
|
}
|
||||||
|
|
||||||
|
update_plugin jpl_test
|
||||||
sed -i /*.jpl/d .gitignore
|
sed -i /*.jpl/d .gitignore
|
||||||
|
|
||||||
cd "$SCRIPT_DIR/codemirror_content_script/" && yo joplin --update --skip-install --silent
|
PLUGINS_TO_UPDATE=(
|
||||||
cd "$SCRIPT_DIR/content_script/" && yo joplin --update --skip-install --silent
|
"clipboard"
|
||||||
cd "$SCRIPT_DIR/dialog/" && yo joplin --update --skip-install --silent
|
"codemirror6"
|
||||||
cd "$SCRIPT_DIR/editor_context_menu/" && yo joplin --update --skip-install --silent
|
"codemirror_content_script"
|
||||||
cd "$SCRIPT_DIR/events/" && yo joplin --update --skip-install --silent
|
"content_script"
|
||||||
cd "$SCRIPT_DIR/json_export/" && yo joplin --update --skip-install --silent
|
"dialog"
|
||||||
cd "$SCRIPT_DIR/menu/" && yo joplin --update --skip-install --silent
|
"editor_context_menu"
|
||||||
cd "$SCRIPT_DIR/multi_selection/" && yo joplin --update --skip-install --silent
|
"events"
|
||||||
cd "$SCRIPT_DIR/register_command/" && yo joplin --update --skip-install --silent
|
"external_assets"
|
||||||
cd "$SCRIPT_DIR/selected_text/" && yo joplin --update --skip-install --silent
|
"imaging"
|
||||||
cd "$SCRIPT_DIR/settings/" && yo joplin --update --skip-install --silent
|
"json_export"
|
||||||
cd "$SCRIPT_DIR/toc/" && yo joplin --update --skip-install --silent
|
"load_css"
|
||||||
cd "$SCRIPT_DIR/withExternalModules/" && yo joplin --update --skip-install --silent
|
"menu"
|
||||||
cd "$SCRIPT_DIR/post_messages/" && yo joplin --update --skip-install --silent
|
"multi_selection"
|
||||||
cd "$SCRIPT_DIR/nativeModule/" && yo joplin --update --skip-install --silent
|
"nativeModule"
|
||||||
cd "$SCRIPT_DIR/external_assets/" && yo joplin --update --skip-install --silent
|
"note_list_renderer"
|
||||||
cd "$SCRIPT_DIR/user_data/" && yo joplin --update --skip-install --silent
|
"post_messages"
|
||||||
|
"register_command"
|
||||||
|
"selected_text"
|
||||||
|
"settings"
|
||||||
|
"toc"
|
||||||
|
"user_data"
|
||||||
|
"withExternalModules"
|
||||||
|
)
|
||||||
|
|
||||||
|
for PLUGIN in ${PLUGINS_TO_UPDATE[@]}; do
|
||||||
|
update_plugin "$PLUGIN"
|
||||||
|
done
|
Loading…
Reference in New Issue
Block a user