diff --git a/.gitignore b/.gitignore index f211f382..31986bf2 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ +assets/plugins /target *.new .vscode diff --git a/Cargo.toml b/Cargo.toml index fab4bb85..d712b372 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -7,7 +7,7 @@ description = "A terminal workspace with batteries included" license = "MIT" repository = "https://github.com/zellij-org/zellij" homepage = "https://zellij.dev" -include = ["src/**/*", "assets/plugins/*", "assets/layouts/*", "LICENSE.md", "README.md", "!**/*_test.*", "!**/tests/**/*"] +include = ["src/**/*", "assets/plugins/*", "assets/layouts/*", "assets/config/*", "LICENSE.md", "README.md", "!**/*_test.*", "!**/tests/**/*"] # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/Makefile.toml b/Makefile.toml index a8674259..628899f9 100644 --- a/Makefile.toml +++ b/Makefile.toml @@ -84,9 +84,10 @@ script = ''' plugins = glob_array ${CARGO_TARGET_DIR}/wasm32-wasi/release/*.wasm for plugin in ${plugins} + mkdir ${CARGO_MAKE_WORKSPACE_WORKING_DIRECTORY}/assets/plugins/ plugin_name = basename ${plugin} plugin_out = set ${CARGO_MAKE_WORKSPACE_WORKING_DIRECTORY}/assets/plugins/${plugin_name} - if is_path_newer ${plugin} ${plugin_out} + if not is_path_exists ${plugin_out} or is_path_newer ${plugin} ${plugin_out} exec wasm-opt -O ${plugin} -o ${plugin_out} end end diff --git a/assets/plugins/status-bar.wasm b/assets/plugins/status-bar.wasm deleted file mode 100644 index b63fff93..00000000 Binary files a/assets/plugins/status-bar.wasm and /dev/null differ diff --git a/assets/plugins/strider.wasm b/assets/plugins/strider.wasm deleted file mode 100644 index 383907fc..00000000 Binary files a/assets/plugins/strider.wasm and /dev/null differ diff --git a/assets/plugins/tab-bar.wasm b/assets/plugins/tab-bar.wasm deleted file mode 100644 index ebe1bce8..00000000 Binary files a/assets/plugins/tab-bar.wasm and /dev/null differ