aboutsummaryrefslogtreecommitdiffhomepage
path: root/magefile.go
diff options
context:
space:
mode:
authorCameron Moore <[email protected]>2017-10-05 12:54:40 -0500
committerBjørn Erik Pedersen <[email protected]>2017-10-07 14:42:54 +0200
commit66a169a24967681dbf91dad6e1f9fd5dd624d95e (patch)
treee3ff2e02cc22da47ace88d6598e48d8c99ad1638 /magefile.go
parent2cc4765670b27f74f68e1614b1763a7819e02854 (diff)
downloadhugo-66a169a24967681dbf91dad6e1f9fd5dd624d95e.tar.gz
hugo-66a169a24967681dbf91dad6e1f9fd5dd624d95e.zip
Simplify HugoNoGitInfo in magefile
Diffstat (limited to 'magefile.go')
-rw-r--r--magefile.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/magefile.go b/magefile.go
index 39ab60a1e..6d5572232 100644
--- a/magefile.go
+++ b/magefile.go
@@ -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")