diff options
-rw-r--r-- | Makefile.toml | 15 | ||||
-rw-r--r-- | assets/plugins/status-bar.wasm | bin | 416418 -> 416578 bytes | |||
-rw-r--r-- | assets/plugins/strider.wasm | bin | 517533 -> 517711 bytes | |||
-rw-r--r-- | assets/plugins/tab-bar.wasm | bin | 407327 -> 407501 bytes |
4 files changed, 11 insertions, 4 deletions
diff --git a/Makefile.toml b/Makefile.toml index 2223c5c3b..68767eaf2 100644 --- a/Makefile.toml +++ b/Makefile.toml @@ -41,7 +41,7 @@ run_task = { name = "build", fork = true } script_runner = "@duckscript" script = ''' asset_dir = set ${CARGO_MAKE_WORKSPACE_WORKING_DIRECTORY}/assets -target_dir = set ${CARGO_MAKE_WORKSPACE_WORKING_DIRECTORY}/target +target_dir = set ${CARGO_TARGET_DIR} data_dir = set ${target_dir}/dev-data rm -r ${data_dir} cp ${asset_dir}/layouts ${data_dir}/ @@ -55,7 +55,7 @@ writefile ${data_dir}/VERSION ${CARGO_MAKE_CRATE_VERSION} [tasks.launch] command = "cargo" -args = ["run", "--", "--data-dir", "${CARGO_MAKE_WORKSPACE_WORKING_DIRECTORY}/target/dev-data/", "@@split(CARGO_MAKE_TASK_ARGS,;)"] +args = ["run", "--", "--data-dir", "${CARGO_TARGET_DIR}/dev-data/", "@@split(CARGO_MAKE_TASK_ARGS,;)"] # Simple clippy tweak [tasks.clippy] @@ -70,7 +70,7 @@ script = ''' if is_dir ${CARGO_MAKE_TASK_ARGS} trigger_error "You need to specify a full path for the binary, not just a directory!" else - cp ${CARGO_MAKE_WORKSPACE_WORKING_DIRECTORY}/target/release/${CARGO_MAKE_CRATE_NAME} ${CARGO_MAKE_TASK_ARGS} + cp ${CARGO_TARGET_DIR}/release/${CARGO_MAKE_CRATE_NAME} ${CARGO_MAKE_TASK_ARGS} end ''' @@ -81,7 +81,7 @@ run_task = { name = "build-release", fork = true } [tasks.wasm-opt-tiles] script_runner = "@duckscript" script = ''' -tiles = glob_array ${CARGO_MAKE_WORKSPACE_WORKING_DIRECTORY}/target/wasm32-wasi/release/*.wasm +tiles = glob_array ${CARGO_TARGET_DIR}/wasm32-wasi/release/*.wasm for tile in ${tiles} tile_name = basename ${tile} @@ -92,6 +92,13 @@ for tile in ${tiles} end ''' +# CI Releasing Zellij +[tasks.ci-build-release] +workspace = false +dependencies = ["build-tiles-release", "wasm-opt-tiles", "build-release"] +command = "cargo" +args = ["build", "--verbose", "--release", "--target", "${CARGO_MAKE_TASK_ARGS}"] + # Publishing Zellij [tasks.publish] clear = true diff --git a/assets/plugins/status-bar.wasm b/assets/plugins/status-bar.wasm Binary files differindex 445087a28..b9a66a7bb 100644 --- a/assets/plugins/status-bar.wasm +++ b/assets/plugins/status-bar.wasm diff --git a/assets/plugins/strider.wasm b/assets/plugins/strider.wasm Binary files differindex 9aafd4105..768bbbd94 100644 --- a/assets/plugins/strider.wasm +++ b/assets/plugins/strider.wasm diff --git a/assets/plugins/tab-bar.wasm b/assets/plugins/tab-bar.wasm Binary files differindex 3ef4512c5..49a79bb0f 100644 --- a/assets/plugins/tab-bar.wasm +++ b/assets/plugins/tab-bar.wasm |