2018-06-27 14:58:06 +04:00
|
|
|
#! /bin/sh
|
|
|
|
|
|
|
|
script_dir="$(cd "$(dirname "$0")" && echo "$(pwd -P)/")"
|
|
|
|
src_dir="$(dirname "$script_dir")"
|
|
|
|
|
|
|
|
. "$script_dir"/version.sh
|
|
|
|
|
2018-07-24 20:11:18 +04:00
|
|
|
opams=$(find "$src_dir/vendors" "$src_dir/src" -name \*.opam -print)
|
2018-06-27 14:58:06 +04:00
|
|
|
|
2019-02-19 20:08:02 +04:00
|
|
|
export OPAMYES=${OPAMYES:=true}
|
|
|
|
|
|
|
|
## In an ideal world, `--with-test` should be present only when using
|
|
|
|
## `--dev`. But this would probably break the CI, so we postponed this
|
|
|
|
## change until someone have some spare time. (@pirbo, @hnrgrgr)
|
|
|
|
|
|
|
|
opam install $opams --deps-only --with-test --criteria="-notuptodate,-changed,-removed"
|