apheleia/test/formatters/installers/ocamlformat.bash

6 lines
198 B
Bash
Raw Normal View History

apt-get install -y opam
opam init -n --disable-sandboxing --root /opt/ocamlformat
opam install ocamlformat -y --root /opt/ocamlformat
ln -s /opt/ocamlformat/default/bin/ocamlformat /usr/local/bin/