ligo/scripts/install_build_deps.sh
Grégoire Henry de5935228f Opam: remove tezos-deps.opam
All dependencies are now inlined in the various opam packages.
2017-12-08 02:50:03 +01:00

23 lines
491 B
Bash
Executable File

#! /bin/sh
script_dir="$(cd "$(dirname "$0")" && echo "$(pwd -P)/")"
src_dir="$(dirname "$script_dir")"
. "$script_dir"/version.sh
if [ "$(ocaml -vnum)" != "$ocaml_version" ]; then
echo ;
echo " Unexpected compiler version ($(ocaml -vnum))";
echo " You should use ocaml-$ocaml_version.";
echo ;
exit 1;
fi
"$script_dir"/opam-unpin.sh
. "$script_dir"/opam-pin.sh
opam list --installed depext || opam install depext
opam depext $packages
opam install $packages --deps-only