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
|
2024-12-05 19:45:23 +01:00
|
|
|
cargo build --release || { echo "prove.sh: cargo build failed"; exit 101; }
|
2024-11-08 12:23:55 +01:00
|
|
|
|
|
|
|
|
# Run the Rust executable
|
2025-04-09 16:34:15 +02:00
|
|
|
cargo run --bin prove --features "parallel" || { echo "prove.sh: cargo run failed"; exit 102; }
|