Deps: add an opam update

This commit is contained in:
Grégoire Henry 2019-01-22 18:07:13 +01:00
parent 28da6ef03b
commit 28238fce9e
No known key found for this signature in database
GPG Key ID: 50D984F20BD445D2

View File

@ -8,6 +8,8 @@ src_dir="$(dirname "$script_dir")"
opam repository set-url tezos --dont-select $opam_repository || \
opam repository add tezos --dont-select $opam_repository > /dev/null 2>&1
opam update --repositories --development
if [ ! -d "$src_dir/_opam" ] ; then
opam switch create "$src_dir" --repositories=tezos ocaml-base-compiler.$ocaml_version
fi