Skip to content

Commit

Permalink
ocaml-general - (5.1 only) pin dune related packages to 3.10.0 (#46)
Browse files Browse the repository at this point in the history
  • Loading branch information
haochenx authored Feb 15, 2024
1 parent 62d0a00 commit fef3bc2
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions ocaml-general/install_ocaml_5.1_packages.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,23 @@ packages=(
uri.4.4.0
)

pins=(
dune 3.10.0
dune-action-plugin 3.10.0
dune-build-info 3.10.0
dune-configurator 3.10.0
dune-glob 3.10.0
dune-private-libs 3.10.0
dune-rpc 3.10.0
dune-rpc-lwt 3.10.0
dune-site 3.10.0
)

opam install --yes "${packages[@]}" \
&& opam clean -y --logs --repo-cache --download-cache --switch-cleanup

echo "${pins[@]}" | xargs -n 2 opam pin -n add

echo -n "exec: "
printf "%s\n" "${packages[@]}" | cut -d'.' -f1 | xargs echo opam show -f package
printf "%s\n" "${packages[@]}" | cut -d'.' -f1 | xargs opam show -f package

0 comments on commit fef3bc2

Please sign in to comment.