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

chore(docs): build bb.js in docs build script #3306

Closed
wants to merge 7 commits into from
8 changes: 8 additions & 0 deletions docs/scripts/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,14 @@ if [ -n "$NETLIFY" ]; then
cd ..
echo Working dir $(pwd)

# Build bb.js
cd barretenberg/ts
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could this follow the same pattern as build_package?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, I can update. I don't think this builds though.

Are you able to build docs (yarn build in ./docs/) on your machine?

Copy link
Member

@Maddiaa0 Maddiaa0 Nov 20, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Apologies for the late response, i fell behind on this at istanbul.
I have just run it ok on the mainframe, does netlify have a docker container build option, if its not building there its probably due to the lack of required dependencies like clang16 etc.

yarn build
cd ..
./bootstrap.sh
# Back to root
cd ..

# Make sure the latest tag is available for loading code snippets from it
LAST_TAG="aztec-packages-v$(jq -r '.["."]' .release-please-manifest.json)"
echo Fetching latest released tag $LAST_TAG...
Expand Down