ocaml/dune

use a custom command to format dune files

Aberta

#10.863 aberto em 30 de ago. de 2024

 (3 comentários) (1 reação) (0 responsável)OCaml (478 forks)github user discovery
help wantedproposal

Métricas do repositório

Stars
 (1.882 estrelas)
Métricas de merge de PR
 (Mesclagem média 1d 20h) (345 fundiu PRs em 30d)

Description

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.

Guia do colaborador