From b40a5a9a9f30c7ff7e619cd186eb952d7c859e55 Mon Sep 17 00:00:00 2001 From: Florian Hammerschmidt Date: Sun, 10 Aug 2025 13:41:06 +0200 Subject: [PATCH] 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 --- bin/omarchy-install-dev-env | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/bin/omarchy-install-dev-env b/bin/omarchy-install-dev-env index ace45ce6..f084ac02 100755 --- a/bin/omarchy-install-dev-env +++ b/bin/omarchy-install-dev-env @@ -1,7 +1,7 @@ #!/bin/bash if [[ -z "$1" ]]; then - echo "Usage: omarchy-instal-dev-env " >&2 + echo "Usage: omarchy-instal-dev-env " >&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