Skip to content

Commit

Permalink
Extract noir contracts transpile to separate script
Browse files Browse the repository at this point in the history
  • Loading branch information
spalladino committed Apr 24, 2024
1 parent 8ed3c36 commit 1d3a7b2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
3 changes: 1 addition & 2 deletions noir-projects/noir-contracts/bootstrap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,4 @@ NARGO=${NARGO:-../../noir/noir-repo/target/release/nargo}
$NARGO compile --silence-warnings

echo "Transpiling avm contracts... (only '#[aztec(public-vm)]')"
TRANSPILER=${TRANSPILER:-../../avm-transpiler/target/release/avm-transpiler}
ls target/avm_*.json | parallel "$TRANSPILER {} {}"
scripts/transpile.sh
5 changes: 5 additions & 0 deletions noir-projects/noir-contracts/scripts/transpile.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/usr/bin/env bash
set -eu

TRANSPILER=${TRANSPILER:-../../avm-transpiler/target/release/avm-transpiler}
ls target/avm_*.json | parallel "$TRANSPILER {} {}"

0 comments on commit 1d3a7b2

Please sign in to comment.