diff options
| author | 魏曹先生 <1992414357@qq.com> | 2025-12-08 21:00:30 +0800 |
|---|---|---|
| committer | 魏曹先生 <1992414357@qq.com> | 2025-12-08 21:00:30 +0800 |
| commit | 45ab6b03fd5e5140e0f2df4c6834d219c94ac2b6 (patch) | |
| tree | 981c0605e121a71b48924bc6c53c90d8eb29f108 /export.sh | |
| parent | a570d168d145f44ac44b9a2c60b7a089dad65f87 (diff) | |
Make export script only run exporter after successful build
Diffstat (limited to 'export.sh')
| -rwxr-xr-x | export.sh | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -1,7 +1,7 @@ #!/bin/bash # Build -cargo build --workspace --release - -# Export -cargo run --manifest-path crates/build_helper/Cargo.toml --bin exporter +if cargo build --workspace --release; then + # Export + cargo run --manifest-path crates/build_helper/Cargo.toml --bin exporter +fi |
