This commit is contained in:
swrup 2025-11-11 02:07:51 +01:00
parent aa2ff7b2f0
commit 2f3113f55d
11742 changed files with 1223940 additions and 0 deletions

View file

@ -0,0 +1,9 @@
(executable
(name main)
(public_name main)
(modules main))
(executable
(name fmt)
(public_name fmt)
(modules fmt))

View file

@ -0,0 +1,11 @@
(lang dune 1.11)
(using fmt 1.2 (enabled_for mlfi))
(dialect
(name mlfi)
(implementation
(extension mf)
(format (run fmt %{input-file})))
(interface
(extension mfi)
(format (run fmt %{input-file}))))

View file

@ -0,0 +1 @@
prerr_endline ("Formatting " ^ Sys.argv.(1))

View file

@ -0,0 +1,7 @@
Test the (dialect ...) stanza inside the dune-project file.
$ dune exec ./main.exe
$ dune build @fmt
Formatting main.mf
Formatting main.mfi