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
|
||||
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
|
||||
|
||||
cd "$SCRIPT_DIR/codemirror_content_script/" && yo joplin --update --skip-install --silent
|
||||
cd "$SCRIPT_DIR/content_script/" && yo joplin --update --skip-install --silent
|
||||
cd "$SCRIPT_DIR/dialog/" && yo joplin --update --skip-install --silent
|
||||
cd "$SCRIPT_DIR/editor_context_menu/" && yo joplin --update --skip-install --silent
|
||||
cd "$SCRIPT_DIR/events/" && yo joplin --update --skip-install --silent
|
||||
cd "$SCRIPT_DIR/json_export/" && yo joplin --update --skip-install --silent
|
||||
cd "$SCRIPT_DIR/menu/" && yo joplin --update --skip-install --silent
|
||||
cd "$SCRIPT_DIR/multi_selection/" && yo joplin --update --skip-install --silent
|
||||
cd "$SCRIPT_DIR/register_command/" && yo joplin --update --skip-install --silent
|
||||
cd "$SCRIPT_DIR/selected_text/" && yo joplin --update --skip-install --silent
|
||||
cd "$SCRIPT_DIR/settings/" && yo joplin --update --skip-install --silent
|
||||
cd "$SCRIPT_DIR/toc/" && yo joplin --update --skip-install --silent
|
||||
cd "$SCRIPT_DIR/withExternalModules/" && yo joplin --update --skip-install --silent
|
||||
cd "$SCRIPT_DIR/post_messages/" && yo joplin --update --skip-install --silent
|
||||
cd "$SCRIPT_DIR/nativeModule/" && yo joplin --update --skip-install --silent
|
||||
cd "$SCRIPT_DIR/external_assets/" && yo joplin --update --skip-install --silent
|
||||
cd "$SCRIPT_DIR/user_data/" && yo joplin --update --skip-install --silent
|
||||
PLUGINS_TO_UPDATE=(
|
||||
"clipboard"
|
||||
"codemirror6"
|
||||
"codemirror_content_script"
|
||||
"content_script"
|
||||
"dialog"
|
||||
"editor_context_menu"
|
||||
"events"
|
||||
"external_assets"
|
||||
"imaging"
|
||||
"json_export"
|
||||
"load_css"
|
||||
"menu"
|
||||
"multi_selection"
|
||||
"nativeModule"
|
||||
"note_list_renderer"
|
||||
"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