mirror of
https://github.com/erhant/circomkit.git
synced 2026-05-05 03:00:37 -04:00
refactors and typed config
This commit is contained in:
@@ -2,12 +2,12 @@
|
||||
compile() {
|
||||
echo -e "\n${CLIENV_COLOR_TITLE}=== Compiling the circuit ===${CLIENV_COLOR_RESET}"
|
||||
local CIRCUIT=$1
|
||||
local CIRCOM_IN=./circuits/main/$CIRCUIT.circom
|
||||
local CIRCOM_OUT=./build/$CIRCUIT
|
||||
|
||||
# generate the circuit main component
|
||||
node ./scripts/instantiate.js $CIRCUIT
|
||||
|
||||
local CIRCOM_IN=./circuits/main/$CIRCUIT.circom
|
||||
local CIRCOM_OUT=./build/$CIRCUIT
|
||||
|
||||
# create build dir if not exists already
|
||||
mkdir -p $CIRCOM_OUT
|
||||
|
||||
|
||||
Reference in New Issue
Block a user