mirror of
https://github.com/gohugoio/hugoDocs.git
synced 2025-09-16 01:57:56 -04:00
Simplify HugoNoGitInfo in magefile
This commit is contained in:
parent
2cc4765670
commit
66a169a249
@ -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")
|
||||
|
Loading…
x
Reference in New Issue
Block a user