init everything from here

This commit is contained in:
Jeff Carr 2024-11-28 21:03:51 -06:00
parent c10d3410a2
commit a9e35d5429
1 changed files with 6 additions and 0 deletions

View File

@ -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")