Simplify HugoNoGitInfo in magefile

This commit is contained in:
Cameron Moore 2017-10-05 12:54:40 -05:00 committed by Bjørn Erik Pedersen
parent 2cc4765670
commit 66a169a249

View file

@ -69,9 +69,9 @@ func flagEnv() map[string]string {
}
// Build hugo without git info
func HugoNoGitInfo() {
func HugoNoGitInfo() error {
ldflags = noGitLdflags
mg.Deps(Vendor, Hugo)
return Hugo()
}
var docker = sh.RunCmd("docker")