Dfmt is a formatter for D source code
Go to file
Hackerpilot 506e150eea Merge branch 'master' of https://github.com/Hackerpilot/dfmt
Conflicts:
	src/dfmt.d
2015-02-17 12:43:42 -08:00
libdparse@f73bed9279 Line wrapping improvements 2015-02-01 02:22:27 -08:00
src Merge branch 'master' of https://github.com/Hackerpilot/dfmt 2015-02-17 12:43:42 -08:00
tests Fix #11 2015-01-25 10:57:31 -08:00
.editorconfig Don't use spaces for makefiles 2015-01-13 23:47:22 -08:00
.gitignore README formatting and dub addition to .gitignore 2015-01-18 00:40:44 -08:00
.gitmodules Initial commit 2015-01-11 17:50:30 +00:00
.travis.yml add .travis.yml 2015-01-17 16:56:47 +01:00
README.md README formatting and dub addition to .gitignore 2015-01-18 00:40:44 -08:00
dub.json Add dub config 2015-01-13 22:16:27 +01:00
makefile Fix makefile dependencies 2015-01-14 21:11:56 +01:00

README.md

dfmt

dfmt is a formatter for D source code

Build Status

Status

dfmt is alpha-quality. Make backups of your files or use source control.

Building

Using Make

  • Clone the repository
  • Run git submodule update --init in the dfmt directory
  • To compile with DMD, run make in the dfmt directory. To compile with LDC, run make ldc instead. The generated binary will be placed in dfmt/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.