summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xexport.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/export.sh b/export.sh
index 5c3cbc1..5428107 100755
--- a/export.sh
+++ b/export.sh
@@ -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