ocaml/dune

use a custom command to format dune files

開放

#10,863 建立於 2024年8月30日

 (3 則留言) (1 個反應) (0 位負責人)OCaml (478 個分叉)github user discovery
help wantedproposal

倉庫指標

星標
 (1,882 顆星)
PR 合併指標
 (平均合併 1天 20小時) (30 天內合併 345 個 PR)

描述

Desired Behavior

We would like to be able to format dune files using a different tool than dune but still have dune run that tool during dune build @fmt and when requested from ocamllsp.

Example

in dune-project

(formatting
  (dune (command custom_dune_formatter %{dep})))

would lead dune to run custom_dune_formatter path/to/dune when dune tries to format path/to/dune.

貢獻者指南