Merge pull request #279 from wilzbach/dub-readme

Add installing with DUB instructions
This commit is contained in:
Basile Burg 2017-05-22 10:32:15 +02:00 committed by GitHub
commit 7f9e6ac7b5
1 changed files with 5 additions and 0 deletions

View File

@ -12,6 +12,11 @@ when using the **--inplace** option.
* 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/```.
### Installing with DUB
```sh
> dub fetch --version='~master' dfmt && dub run dfmt -- -h
```
## Using
By default, dfmt reads its input from **stdin** and writes to **stdout**.