Simplify HugoNoGitInfo in magefile
This commit is contained in:
parent
2cc4765670
commit
66a169a249
1 changed files with 2 additions and 2 deletions
|
@ -69,9 +69,9 @@ func flagEnv() map[string]string {
|
||||||
}
|
}
|
||||||
|
|
||||||
// Build hugo without git info
|
// Build hugo without git info
|
||||||
func HugoNoGitInfo() {
|
func HugoNoGitInfo() error {
|
||||||
ldflags = noGitLdflags
|
ldflags = noGitLdflags
|
||||||
mg.Deps(Vendor, Hugo)
|
return Hugo()
|
||||||
}
|
}
|
||||||
|
|
||||||
var docker = sh.RunCmd("docker")
|
var docker = sh.RunCmd("docker")
|
||||||
|
|
Loading…
Add table
Reference in a new issue