Add installing with DUB instructions

This commit is contained in:
Sebastian Wilzbach 2017-05-17 13:19:10 +02:00
parent a93efb66fb
commit 80fe7c02e6
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**.