Files
circomkit/scripts/clean.sh
Erhan Tezcan 04dd58ba6b initial setup
2023-02-15 21:45:11 +03:00

18 lines
270 B
Bash
Executable File

#!/bin/bash
## Compile the circuit, outputting R1CS and JS files.
# abort on error
set -e
# get to the root directory of this project
cd "${0%/*}"/..
if [[ $# -ne 1 ]] ; then
echo "Usage:"
echo "$0 <circuit-name>"
exit 1
fi
CIRCUIT=$1
rm -rf ./build/$CIRCUIT