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.

贡献者指南