shithub: hugo

Download patch

ref: f503d76a3b2719bbb65ab9df5595d0dbc871fae9
parent: 93643860c9db10c6c32176b17cc83f1c317279bd
author: Bjørn Erik Pedersen <[email protected]>
date: Tue Jun 13 15:06:34 EDT 2017

Update Makefile vs gohugoio/hugo

--- a/Makefile
+++ b/Makefile
@@ -50,7 +50,7 @@
 	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 \
@@ -57,7 +57,7 @@
 	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 @@
 		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),\