From 80fe7c02e6bd2bca26b4f7a2eaee713b29d07e7e Mon Sep 17 00:00:00 2001 From: Sebastian Wilzbach Date: Wed, 17 May 2017 13:19:10 +0200 Subject: [PATCH] Add installing with DUB instructions --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index 5297db6..f710d65 100644 --- a/README.md +++ b/README.md @@ -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**.