Hugo updated to work with latest cobra - hugo - [fork] hugo port for 9front
HTML git clone git@git.drkhsh.at/hugo.git
DIR Log
DIR Files
DIR Refs
DIR Submodules
DIR README
DIR LICENSE
---
DIR commit 23a711a29a587651cfb85f53223dc0260367ac6a
DIR parent 9af47f07d3f9700e233a98d7e84d85c3a30f9cd5
HTML Author: spf13 <steve.francia@gmail.com>
Date: Fri, 1 Nov 2013 18:43:41 -0400
Hugo updated to work with latest cobra
Diffstat:
M commands/hugo.go | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
---
DIR diff --git a/commands/hugo.go b/commands/hugo.go
@@ -42,14 +42,12 @@ Complete documentation is available at http://hugo.spf13.com`,
},
}
-var Hugo *cobra.Commander
var BuildWatch, Draft, UglyUrls, Verbose bool
var Source, Destination, BaseUrl, CfgFile string
func Execute() {
AddCommands()
- Hugo := HugoCmd.ToCommander()
- utils.StopOnErr(Hugo.Execute())
+ utils.StopOnErr(HugoCmd.Execute())
}
func AddCommands() {