This commit is contained in:
Gašper Fele-Žorž 2025-09-12 15:35:00 +02:00
parent 5f34e04926
commit 6a6dabe4f4

View file

@ -2,3 +2,14 @@
apt:
name: ocaml
state: latest
- name: Install opam
apt:
name: opam
state: latest
- name: Init opam home
command: opam init --reinit --root=/opt/opam --dot-profile=/etc/profile.d/opam.sh --comp=4.14.2 -a
- name: Install required opam packages
shell: source /etc/profile.d/opam.sh; eval $(opam env --root=/opt/opam --set-root --switch=4.14.2); opam install --yes ocaml-lsp-server odoc ocamlformat utop dune menhir