This commit is contained in:
parent
aa2ff7b2f0
commit
2f3113f55d
11742 changed files with 1223940 additions and 0 deletions
|
|
@ -0,0 +1,9 @@
|
|||
(executable
|
||||
(name main)
|
||||
(public_name main)
|
||||
(modules main))
|
||||
|
||||
(executable
|
||||
(name fmt)
|
||||
(public_name fmt)
|
||||
(modules fmt))
|
||||
|
|
@ -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}))))
|
||||
|
|
@ -0,0 +1 @@
|
|||
prerr_endline ("Formatting " ^ Sys.argv.(1))
|
||||
|
|
@ -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
|
||||
Loading…
Add table
Add a link
Reference in a new issue