ocaml/dune

use a custom command to format dune files

オープン

#10,863 opened on 2024/08/30

 (3 件のコメント) (1 件のリアクション) (0 人の担当者)OCaml (478 件のフォーク)github user discovery
help wantedproposal

Repository metrics

Stars
 (1,882 個のスター)
PR merge metrics
 (平均マージ 1d 20h) (30d で 345 merged PRs)

説明

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.

コントリビューターガイド