Skip to content

Commit

Permalink
allow overriding FSTAR_BRANCH
Browse files Browse the repository at this point in the history
  • Loading branch information
tahina-pro committed May 3, 2023
1 parent 20fd9db commit 0daa8ae
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .docker/build/install-deps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,12 @@ build_home="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
opam depext conf-gmp z3.4.8.5 conf-m4

# Identify the F* branch
FSTAR_BRANCH=$(jq -c -r '.BranchName' "$build_home"/config.json)
if [[ -z "$FSTAR_BRANCH" ]] ; then
FSTAR_BRANCH=$(jq -c -r '.BranchName' "$build_home"/config.json)
if [[ -z "$FSTAR_BRANCH" ]] ; then
FSTAR_BRANCH=master
fi
fi

# Install F*
[[ -n "$FSTAR_HOME" ]]
Expand Down

0 comments on commit 0daa8ae

Please sign in to comment.