Skip to content

Instantly share code, notes, and snippets.

@Kakadu
Created February 10, 2022 14:03
Show Gist options
  • Save Kakadu/4c703902e2804d2a1296e51a817928e6 to your computer and use it in GitHub Desktop.
Save Kakadu/4c703902e2804d2a1296e51a817928e6 to your computer and use it in GitHub Desktop.
dune test formatting of dune files
➜ 1 cat dune-project 4.13.1+flambda
(lang dune 2.9)
(name A)
(package
(name A)
(description
"\| this is a block
"\| of text"
))
➜ 1 dune format-dune-file dune-project 4.13.1+flambda
(lang dune 2.9)
(name A)
(package
(name A)
(description "this is a block\nof text\"\n"))
➜ 1 dune --version
2.9.3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment