Add OCaml (#598)
* Add OCaml Add OCaml according to https://ocaml.org/install#linux_mac_bsd I included also the development environment (LSP and some tools) as I figured this would be actually omakase but I can also remove it if we want to keep it clean. * small fix
This commit is contained in:
parent
4237807bc1
commit
b40a5a9a9f
@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
if [[ -z "$1" ]]; then
|
||||
echo "Usage: omarchy-instal-dev-env <ruby|node|bun|go|laravel|python|elixir|rust|java>" >&2
|
||||
echo "Usage: omarchy-instal-dev-env <ruby|node|bun|go|laravel|python|elixir|rust|java|ocaml>" >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
@ -48,4 +48,11 @@ java)
|
||||
echo -e "Installing Java...\n"
|
||||
mise use --global java@latest
|
||||
;;
|
||||
ocaml)
|
||||
echo -e "Installing OCaml...\n"
|
||||
bash -c "$(curl -fsSL https://raw.githubusercontent.com/ocaml/opam/master/shell/install.sh)"
|
||||
opam init --yes
|
||||
eval "$(opam env)"
|
||||
opam install ocaml-lsp-server odoc ocamlformat utop --yes
|
||||
;;
|
||||
esac
|
||||
|
Loading…
x
Reference in New Issue
Block a user