ref: 66a169a24967681dbf91dad6e1f9fd5dd624d95e
parent: 2cc4765670b27f74f68e1614b1763a7819e02854
author: Cameron Moore <[email protected]>
date: Thu Oct 5 08:54:40 EDT 2017
Simplify HugoNoGitInfo in magefile
--- a/magefile.go
+++ b/magefile.go
@@ -69,9 +69,9 @@
}
// Build hugo without git info
-func HugoNoGitInfo() {
+func HugoNoGitInfo() error {
ldflags = noGitLdflags
- mg.Deps(Vendor, Hugo)
+ return Hugo()
}
var docker = sh.RunCmd("docker")