Files
turso/whopper/bin/run
Avinash Sajjanshetty d35789690e make whopper run with checksums
pass `--enable-checksums` to either `run` or `explore` commands
2025-09-14 20:08:34 +05:30

18 lines
366 B
Bash
Executable File

#!/bin/bash
set -e
# Check for special build time flags (e.g. `--enable-checksums`)
FEATURES=""
ARGS=()
for arg in "$@"; do
if [[ "$arg" == "--enable-checksums" ]]; then
FEATURES="--features checksum"
else
ARGS+=("$arg")
fi
done
cargo build $FEATURES -p turso_whopper
time RUST_BACKTRACE=full ./target/debug/turso_whopper "${ARGS[@]}"