diff options
Diffstat (limited to 'main.go')
| -rw-r--r-- | main.go | 15 |
1 files changed, 10 insertions, 5 deletions
@@ -22,7 +22,7 @@ var VERSION string var BUILDTIME string // used for shell auto completion -var ARGNAME string = "wit-test" // todo: get this from $0 ? +var ARGNAME string = "wit" // todo: get this from $0 ? var failed map[*gitpb.Repo]string var state map[*gitpb.Repo]string @@ -34,16 +34,21 @@ func main() { dumpDebug() - failed = make(map[*gitpb.Repo]string) - state = make(map[*gitpb.Repo]string) - debnames = make(map[*gitpb.Repo]string) - if argv.Upgrade != nil { me.machine, _ = zoopb.InitMachine() doAptUpgrade() okExit("") } + if argv.Git != nil { + doGit() + okExit("") + } + + failed = make(map[*gitpb.Repo]string) + state = make(map[*gitpb.Repo]string) + debnames = make(map[*gitpb.Repo]string) + me.forge = forgepb.Init() me.forge.Config.DumpENV() |
