Skip to content

Commit

Permalink
Respect submodules inversion for 'develop' and 'o1js-main'.
Browse files Browse the repository at this point in the history
  • Loading branch information
shimkiv committed Dec 20, 2023
1 parent 9c965b9 commit 591011c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion scripts/build-all.sh
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ cd ${CURRENT_DIR}

for TARGET_BRANCH in "${TARGET_BRANCHES[@]}"; do
echo ""
echo "[INFO] Building Mina at branch: '${TARGET_BRANCH}' and then building the corresponding Docker Image"
echo "[INFO] Building Mina at branch: '${TARGET_BRANCH}' and then building the corresponding Docker image"
echo ""
BRANCH_NAME=${TARGET_BRANCH}
# if [[ $TARGET_BRANCH == "o1js-main" ]]; then
Expand All @@ -95,6 +95,9 @@ for TARGET_BRANCH in "${TARGET_BRANCHES[@]}"; do

gitPullAll && gitPullAll
git checkout ${TARGET_BRANCH}
if [[ $TARGET_BRANCH == "develop" || $TARGET_BRANCH == "o1js-main" ]]; then
rm -rf ${MINA_REPO_DIR}/src/lib/snarkyjs
fi
gitPullAll && gitPullAll
opam switch import --switch mina --yes opam.export
opam switch import opam.export --yes
Expand Down

0 comments on commit 591011c

Please sign in to comment.