Skip to content

Commit

Permalink
fix: bb.js caching
Browse files Browse the repository at this point in the history
  • Loading branch information
alexghr committed Oct 9, 2024
1 parent bb8d93b commit a1ef911
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions barretenberg/ts/Earthfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,11 @@ CACHE:
ARG build_artifacts
ARG prefix
# TODO(#8929): reinstate bb.js caching
RUN $command
# DO ../../build-system/s3-cache-scripts/+WITH_CACHE \
# --prefix="bb.js-$prefix" \
# --command="$command" \
# --rebuild_patterns="../cpp/.rebuild_patterns .rebuild_patterns" \
# --build_artifacts="$build_artifacts"
DO ../../build-system/s3-cache-scripts/+WITH_CACHE \
--prefix="bb.js-$prefix" \
--command="$command" \
--rebuild_patterns="../cpp/.rebuild_patterns .rebuild_patterns" \
--build_artifacts="$build_artifacts"

deps:
FROM ../../build-images+from-registry
Expand All @@ -34,7 +33,7 @@ deps:
esm:
FROM +deps
DO +CACHE \
--prefix="browser" \
--prefix="esm" \
--command="yarn build:esm" \
--build_artifacts="."
SAVE ARTIFACT /usr/src/barretenberg/ts build
Expand Down

0 comments on commit a1ef911

Please sign in to comment.