summaryrefslogtreecommitdiff
path: root/export.sh
diff options
context:
space:
mode:
Diffstat (limited to 'export.sh')
-rwxr-xr-xexport.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/export.sh b/export.sh
index e508d79..66e85f2 100755
--- a/export.sh
+++ b/export.sh
@@ -5,5 +5,8 @@
# Build
if cargo build --workspace --release; then
# Export
- cargo run --manifest-path crates/build_helper/Cargo.toml --bin exporter
+ if cargo run --manifest-path crates/build_helper/Cargo.toml --bin exporter; then
+ # Delete compile_info.rs after successful export
+ rm -f src/data/compile_info.rs
+ fi
fi