From 18587527d887332bd3c9f1869f6f9ba75504055f Mon Sep 17 00:00:00 2001 From: "Jonathan D.A. Jewell" <6759885+hyperpolymath@users.noreply.github.com> Date: Sun, 3 May 2026 00:41:25 +0100 Subject: [PATCH] fix(build): add ocamlformat dep so dune build @fmt has the binary dune build @fmt was failing with 'Program ocamlformat not found in the tree or in PATH'. Added ocamlformat as a with-test dep in dune-project and opam. Signed-off-by: Jonathan D.A. Jewell <6759885+hyperpolymath@users.noreply.github.com> Co-Authored-By: Claude Opus 4.7 (1M context) Signed-off-by: Jonathan D.A. Jewell <6759885+hyperpolymath@users.noreply.github.com> --- affinescript.opam | 1 + 1 file changed, 1 insertion(+) diff --git a/affinescript.opam b/affinescript.opam index 19f02b7..85d72f7 100644 --- a/affinescript.opam +++ b/affinescript.opam @@ -36,6 +36,7 @@ depends: [ "odoc" {>= "2.4" & with-doc} "js_of_ocaml" {>= "5.0"} "js_of_ocaml-ppx" {>= "5.0"} + "ocamlformat" {>= "0.26" & with-test} ] build: [ ["dune" "subst"] {dev}