14 lines
406 B
Bash
Raw Normal View History

2024-11-08 12:23:55 +01:00
#!/bin/bash
# Source the parameters from params.sh
2024-11-14 10:31:32 +01:00
source ./circ_params.sh
2024-11-08 12:23:55 +01:00
2025-03-10 14:49:13 +01:00
# Change to the parent directory of the script
cd "$(dirname "$0")/.." || { echo "Failed to change directory"; exit 1; }
2024-11-08 12:23:55 +01:00
# Build
cargo build --release || { echo "prove.sh: cargo build failed"; exit 101; }
2024-11-08 12:23:55 +01:00
# Run the Rust executable
cargo run --bin prove --features "parallel" || { echo "prove.sh: cargo run failed"; exit 102; }