From: Bjørn Erik Pedersen Date: Tue, 13 Jun 2017 17:06:34 +0000 (+0200) Subject: Update Makefile vs gohugoio/hugo X-Git-Tag: v0.23~22 X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=f503d76a3b2719bbb65ab9df5595d0dbc871fae9;p=brevno-suite%2Fhugo Update Makefile vs gohugoio/hugo --- diff --git a/Makefile b/Makefile index e0dde4e1..4508ab7c 100644 --- a/Makefile +++ b/Makefile @@ -50,14 +50,14 @@ test-race: ## Run tests with race detector govendor test -race +local fmt: ## Run gofmt linter - @for d in `govendor list -no-status +local | sed 's/github.com.spf13.hugo/./'` ; do \ + @for d in `govendor list -no-status +local | sed 's/github.com.gohugoio.hugo/./'` ; do \ if [ "`gofmt -l $$d/*.go | tee /dev/stderr`" ]; then \ echo "^ improperly formatted go files" && echo && exit 1; \ fi \ done lint: ## Run golint linter - @for d in `govendor list -no-status +local | sed 's/github.com.spf13.hugo/./'` ; do \ + @for d in `govendor list -no-status +local | sed 's/github.com.gohugoio.hugo/./'` ; do \ if [ "`golint $$d | tee /dev/stderr`" ]; then \ echo "^ golint errors!" && echo && exit 1; \ fi \ @@ -68,7 +68,7 @@ vet: ## Run go vet linter echo "^ go vet errors!" && echo && exit 1; \ fi -test-cover-html: PACKAGES = $(shell govendor list -no-status +local | sed 's/github.com.spf13.hugo/./') +test-cover-html: PACKAGES = $(shell govendor list -no-status +local | sed 's/github.com.gohugoio.hugo/./') test-cover-html: ## Generate test coverage report echo "mode: count" > coverage-all.out $(foreach pkg,$(PACKAGES),\