diff options
| author | 魏曹先生 <1992414357@qq.com> | 2025-12-08 19:48:56 +0800 |
|---|---|---|
| committer | 魏曹先生 <1992414357@qq.com> | 2025-12-08 19:48:56 +0800 |
| commit | 0d43ea9ad1c5d490a5e1db3ce19d67a7e5193d35 (patch) | |
| tree | 96b78fbaf8d0621be01ffeaef50fb636bbce4569 | |
| parent | 05f91c8a0191b2cb4ef0baa9690abc5d83fd2f1e (diff) | |
Replace Cargo alias with standalone export script
| -rw-r--r-- | .cargo/config.toml | 4 | ||||
| -rwxr-xr-x | export.sh | 7 |
2 files changed, 7 insertions, 4 deletions
diff --git a/.cargo/config.toml b/.cargo/config.toml index 8de7c9b..9ba89a6 100644 --- a/.cargo/config.toml +++ b/.cargo/config.toml @@ -1,10 +1,6 @@ [build] target-dir = "./.temp/target/" -[alias] -# Use `cargo export` to export the project -export = "run --manifest-path crates/build_helper/Cargo.toml --bin exporter" - [publish] target-dir = "./export/" binaries = [ diff --git a/export.sh b/export.sh new file mode 100755 index 0000000..5c3cbc1 --- /dev/null +++ b/export.sh @@ -0,0 +1,7 @@ +#!/bin/bash + +# Build +cargo build --workspace --release + +# Export +cargo run --manifest-path crates/build_helper/Cargo.toml --bin exporter |
