From dc4a658f4a85705a7cada5f055dbb1359e59fb18 Mon Sep 17 00:00:00 2001 From: Maddiaa0 <47148561+Maddiaa0@users.noreply.github.com> Date: Mon, 28 Oct 2024 09:28:33 +0000 Subject: [PATCH 1/2] fix: docker fast --- yarn-project/bootstrap.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/yarn-project/bootstrap.sh b/yarn-project/bootstrap.sh index f8725b7f825..c68692ef7c4 100755 --- a/yarn-project/bootstrap.sh +++ b/yarn-project/bootstrap.sh @@ -15,7 +15,12 @@ CMD=${1:-} if [ "$CMD" = "clean" ]; then git clean -fdx exit 0 -elif [ "$CMD" = "full" ]; then +fi + +# Generate l1-artifacts before creating lock file +(cd l1-artifacts && yarn generate) + +if [ "$CMD" = "full" ]; then yarn install --immutable yarn build exit 0 From 09e4941f5b30b7c3dcc1907c0686009603d3440c Mon Sep 17 00:00:00 2001 From: Maddiaa0 <47148561+Maddiaa0@users.noreply.github.com> Date: Mon, 28 Oct 2024 09:33:26 +0000 Subject: [PATCH 2/2] fix; build --- yarn-project/bootstrap.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yarn-project/bootstrap.sh b/yarn-project/bootstrap.sh index c68692ef7c4..c9ebca3a9e1 100755 --- a/yarn-project/bootstrap.sh +++ b/yarn-project/bootstrap.sh @@ -18,7 +18,7 @@ if [ "$CMD" = "clean" ]; then fi # Generate l1-artifacts before creating lock file -(cd l1-artifacts && yarn generate) +(cd l1-artifacts && bash ./scripts/generate-artifacts.sh) if [ "$CMD" = "full" ]; then yarn install --immutable