diff options
| author | Brooks J Rady <b.j.rady@gmail.com> | 2021-04-29 15:52:22 +0100 |
|---|---|---|
| committer | Brooks J Rady <b.j.rady@gmail.com> | 2021-04-29 15:53:10 +0100 |
| commit | 65f15457c1cb4505760394491c3621b4d6d807c6 (patch) | |
| tree | 6643b2fd892ed93de3c10d02456f7583d614b50a | |
| parent | chore(version): boost development version to 0.7.0 and update changelog (diff) | |
| download | sl0ppij-65f15457c1cb4505760394491c3621b4d6d807c6.tar.gz sl0ppij-65f15457c1cb4505760394491c3621b4d6d807c6.tar.xz sl0ppij-65f15457c1cb4505760394491c3621b4d6d807c6.zip | |
fix(build): don't store binary assets in git
| -rw-r--r-- | .gitignore | 1 | ||||
| -rw-r--r-- | Cargo.toml | 2 | ||||
| -rw-r--r-- | Makefile.toml | 3 | ||||
| -rw-r--r-- | assets/plugins/status-bar.wasm | bin | 415630 -> 0 bytes | |||
| -rw-r--r-- | assets/plugins/strider.wasm | bin | 518238 -> 0 bytes | |||
| -rw-r--r-- | assets/plugins/tab-bar.wasm | bin | 407203 -> 0 bytes |
6 files changed, 4 insertions, 2 deletions
@@ -1,3 +1,4 @@ +assets/plugins /target *.new .vscode @@ -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 Binary files differdeleted file mode 100644 index b63fff93..00000000 --- a/assets/plugins/status-bar.wasm +++ /dev/null diff --git a/assets/plugins/strider.wasm b/assets/plugins/strider.wasm Binary files differdeleted file mode 100644 index 383907fc..00000000 --- a/assets/plugins/strider.wasm +++ /dev/null diff --git a/assets/plugins/tab-bar.wasm b/assets/plugins/tab-bar.wasm Binary files differdeleted file mode 100644 index ebe1bce8..00000000 --- a/assets/plugins/tab-bar.wasm +++ /dev/null |
