diff --git a/init.go b/init.go index 1f8a24e..0f400f8 100644 --- a/init.go +++ b/init.go @@ -35,6 +35,12 @@ func Init() *Forge { f.Repos = new(gitpb.Repos) f.Machine = new(zoopb.Machine) + if err := f.Machine.ConfigLoad(); err != nil { + log.Warn("zoopb.ConfigLoad() failed", err) + os.Exit(-1) + } + f.Machine.InitWit() + f.goSrc = os.Getenv("FORGE_GOSRC") f.ScanGoSrc() log.Warn("GOT HERE. forge.Init(). f can not be nil")