mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-13 22:16:02 +00:00
Simplify HugoNoGitInfo in magefile
This commit is contained in:
1 parent
2cc4765670
commit
66a169a249
1 file changed
+2
-2
+2
-2
@@ -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")
|
||||
|
||||
Reference in new issue
Block a user