mirror of
https://github.com/Veridise/Picus.git
synced 2026-04-19 03:00:11 -04:00
12 lines
220 B
Bash
Executable File
12 lines
220 B
Bash
Executable File
#!/bin/bash
|
|
# usage:
|
|
# picus-compile.sh <path-to-circom-file>
|
|
|
|
fp=$1
|
|
fd="$(dirname "${fp}")"
|
|
fn="$(basename "${fp}")"
|
|
bn="${fn%.*}"
|
|
|
|
# echo "# preparing: ${fp}"
|
|
circom -o ${fd} ${fp} --r1cs --sym --O0 > /dev/null 2>&1
|