File tree Expand file tree Collapse file tree 5 files changed +16
-95
lines changed Expand file tree Collapse file tree 5 files changed +16
-95
lines changed Original file line number Diff line number Diff line change @@ -13,9 +13,11 @@ matrix:
1313 - go : tip
1414 fast_finish : true
1515install :
16- - make vendor
16+ - go get github.com/magefile/mage
17+ - mage vendor
1718script :
18- - make hugo-race check
19+ - mage hugoRace
20+ - mage -v check
1921 - ./hugo -s docs/
2022 - ./hugo --renderToMemory -s docs/
2123before_install :
Original file line number Diff line number Diff line change @@ -145,11 +145,13 @@ started:
145145
146146### Build Hugo with Your Changes
147147
148+ **Note:** Hugo uses [mage](https://github.com/magefile/mage) to build.
149+
148150```bash
149151cd $HOME/go/src/github.com/gohugoio/hugo
150- make hugo
152+ mage hugo
151153# or to install in $HOME/go/bin:
152- make install
154+ mage install
153155```
154156
155157### Updating the Hugo Sources
@@ -160,6 +162,6 @@ well.
160162
161163```
162164git pull
163- make vendor
165+ mage vendor
164166```
165167
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11init :
2- - copy c:\MinGW\bin\mingw32-make.exe c:\MinGW\bin\make.exe
32 - set PATH=%PATH%;C:\MinGW\bin;%GOPATH%\bin
43 - go version
54 - go env
@@ -10,8 +9,10 @@ clone_folder: C:\GOPATH\src\github.com\gohugoio\hugo
109install :
1110 - gem install asciidoctor
1211 - pip install docutils
12+ - go get github.com/magefile/mage
1313
1414build_script :
15- - make hugo-race check
15+ - mage hugoRace
16+ - mage -v check
1617 - hugo -s docs/
1718 - hugo --renderToMemory -s docs/
Original file line number Diff line number Diff line change @@ -28,9 +28,11 @@ parts:
2828 export GOPATH=$(dirname $SNAPCRAFT_PART_INSTALL)/go
2929 export PATH=$GOPATH/bin:$PATH
3030 cd $GOPATH/src/github.com/gohugoio/hugo
31- make vendor
32- make test
31+ go get github.com/magefile/mage
32+ mage vendor
33+ mage test
3334 rm -f $GOPATH/bin/govendor
35+ rm -f $GOPATH/bin/mage
3436 install : |
3537 strip --remove-section=.comment --remove-section=.note $SNAPCRAFT_PART_INSTALL/bin/hugo
3638 after : [go]
You can’t perform that action at this time.
0 commit comments