Add mage installation step to CONTRIBUTING.md

This commit is contained in:
digitalcraftsman 2017-10-05 20:09:21 +02:00 committed by GitHub
parent 856fc445da
commit 2cc4765670

View file

@ -145,7 +145,13 @@ started:
### Build Hugo with Your Changes ### Build Hugo with Your Changes
**Note:** Hugo uses [mage](https://github.com/magefile/mage) to build. **Note:** Hugo uses [mage](https://github.com/magefile/mage) to build. To install `mage` run
```bash
go get github.com/magefile/mage
```
`mage -l` lists all available commands with the corresponding description. To build Hugo run
```bash ```bash
cd $HOME/go/src/github.com/gohugoio/hugo cd $HOME/go/src/github.com/gohugoio/hugo