diff --git a/yarn-project/bootstrap.sh b/yarn-project/bootstrap.sh index ebff8223db15..81b933d0bf7e 100755 --- a/yarn-project/bootstrap.sh +++ b/yarn-project/bootstrap.sh @@ -16,18 +16,18 @@ set -eu yarn install --immutable -# Run remake bindings before building Aztec.nr contracts or l1 contracts as they depend on files created by it. -yarn --cwd circuits.js remake-bindings -yarn --cwd circuits.js remake-constants - # Build the necessary dependencies for Aztec.nr contracts typegen. -for DIR in foundation noir-compiler circuits.js; do +for DIR in foundation noir-compiler; do echo "Building $DIR..." cd $DIR yarn build cd .. done +# Run remake bindings before building Aztec.nr contracts or l1 contracts as they depend on files created by it. +yarn --cwd circuits.js remake-bindings +yarn --cwd circuits.js remake-constants + (cd noir-contracts && ./bootstrap.sh) (cd .. && l1-contracts/bootstrap.sh)