851 B
851 B
dfmt
dfmt is a formatter for D source code
Status
dfmt is alpha-quality. Make backups of your files or use source control.
Building
Using Make
- Clone the repository
- Run
git submodule update --initin the dfmt directory - To compile with DMD, run
makein the dfmt directory. To compile with LDC, runmake ldcinstead. The generated binary will be placed indfmt/bin/.
Using
By default, dfmt reads its input from stdin and writes to stdout.
If a file name is specified on the command line, input will be read from the
file instead, and output will be written to stdout. If the --inplace
option is specified a file name is required and the file will be edited
in-place.