-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2e4b1d4
commit d00b08d
Showing
2 changed files
with
5 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,15 @@ | ||
#!/bin/bash | ||
|
||
# Step 1: Echo "Path of your file?" | ||
echo "Folder of your circom files?" | ||
|
||
# Step 2: Take the relative path of the file from stdin and stored it in a variable called PROOF_PATH. | ||
read CIRCOM_FILES_PATH | ||
|
||
# Step 3: cd conversion. | ||
cd $CIRCOM_FILES_PATH || exit 1 | ||
CIRCOM_FILES_PATH=$1 | ||
|
||
# Step 4: Inside conversion mkdir output. | ||
#mkdir -p conv_outputs | ||
cd $CIRCOM_FILES_PATH || exit 1 | ||
|
||
#node ../conversion/index.js "$CIRCOM_FILES_PATH" > conv_outputs/output.txt || exit 1 | ||
node ../conversion/index.js "$CIRCOM_FILES_PATH" || exit 1 | ||
|
||
echo "Conversion done!" | ||
echo "Serialization done!" | ||
|
||
|
||
|