Add installing with DUB instructions
This commit is contained in:
parent
a93efb66fb
commit
80fe7c02e6
|
@ -12,6 +12,11 @@ when using the **--inplace** option.
|
||||||
* To compile with DMD, run ```make``` in the dfmt directory. To compile with
|
* 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/```.
|
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
|
## Using
|
||||||
By default, dfmt reads its input from **stdin** and writes to **stdout**.
|
By default, dfmt reads its input from **stdin** and writes to **stdout**.
|
||||||
|
|
Loading…
Reference in New Issue