diff options
author | Cameron Moore <[email protected]> | 2017-10-05 12:54:40 -0500 |
---|---|---|
committer | Bjørn Erik Pedersen <[email protected]> | 2017-10-07 14:42:54 +0200 |
commit | 66a169a24967681dbf91dad6e1f9fd5dd624d95e (patch) | |
tree | e3ff2e02cc22da47ace88d6598e48d8c99ad1638 /magefile.go | |
parent | 2cc4765670b27f74f68e1614b1763a7819e02854 (diff) | |
download | hugo-66a169a24967681dbf91dad6e1f9fd5dd624d95e.tar.gz hugo-66a169a24967681dbf91dad6e1f9fd5dd624d95e.zip |
Simplify HugoNoGitInfo in magefile
Diffstat (limited to 'magefile.go')
-rw-r--r-- | magefile.go | 4 |
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") |