Skip to content

Commit 7f9e6ac

Browse files
author
Basile Burg
authored
Merge pull request #279 from wilzbach/dub-readme
Add installing with DUB instructions
2 parents 50a3241 + 80fe7c0 commit 7f9e6ac

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,11 @@ when using the **--inplace** option.
1212
* To compile with DMD, run ```make``` in the dfmt directory. To compile with
1313
LDC, run ```make ldc``` instead. The generated binary will be placed in ```dfmt/bin/```.
1414

15+
### Installing with DUB
16+
17+
```sh
18+
> dub fetch --version='~master' dfmt && dub run dfmt -- -h
19+
```
1520

1621
## Using
1722
By default, dfmt reads its input from **stdin** and writes to **stdout**.

0 commit comments

Comments
 (0)