Skip to content

Commit

Permalink
feat(build-snarkyjs-node-artifacts.sh): add dune build command for co…
Browse files Browse the repository at this point in the history
…nfig.mlh to ensure it's up-to-date before copying to SNARKY_JS_PATH/src
  • Loading branch information
MartinMinkov committed Dec 13, 2023
1 parent 285d40f commit cf8d10f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/build-snarkyjs-node-artifacts.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ if [ -f "$BUILD_PATH/snarky_js_node.bc.js" ]; then
fi

# Copy mina config files, that is necessary for o1js to build
dune b "$MINA_PATH/src/config.mlh" && \
cp "$MINA_PATH/src/config.mlh" "$SNARKY_JS_PATH/src" \
&& cp -r "$MINA_PATH/src/config" "$SNARKY_JS_PATH/src/config" || exit 1

Expand Down

0 comments on commit cf8d10f

Please sign in to comment.