Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: bootstrap bbjs. #3337

Merged
merged 2 commits into from
Nov 17, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions barretenberg/bootstrap.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
#!/bin/bash
set -eu

# Navigate to script folder
cd "$(dirname "$0")"

(cd cpp && ./bootstrap.sh)
cd ts
yarn build
npm link
(cd ts && yarn install --immutable && yarn build && npm link)
4 changes: 2 additions & 2 deletions bootstrap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,9 @@ if [[ -f .bootstrapped && $(cat .bootstrapped) -eq "$VERSION" ]]; then
(cd circuits/cpp && cmake --build --preset wasm -j --target aztec3-circuits.wasm)
else
# Heavy bootstrap.
barretenberg/cpp/bootstrap.sh
barretenberg/bootstrap.sh
circuits/cpp/bootstrap.sh
yarn-project/bootstrap.sh

echo $VERSION > .bootstrapped
fi
fi
1 change: 0 additions & 1 deletion yarn-project/bootstrap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ yarn workspace @aztec/circuits.js remake-bindings
yarn workspace @aztec/circuits.js remake-constants

(cd noir-contracts && ./bootstrap.sh)
(cd boxes && ./bootstrap.sh)
(cd .. && l1-contracts/bootstrap.sh)

# We do not need to build individual packages, yarn build will build the root tsconfig.json
Expand Down