init everything from here
This commit is contained in:
parent
c10d3410a2
commit
a9e35d5429
6
init.go
6
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")
|
||||
|
|
Loading…
Reference in New Issue