diff options
| author | Jeff Carr <[email protected]> | 2024-11-28 21:03:51 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-11-28 21:03:51 -0600 |
| commit | a9e35d54295e979566940d60401014296801e553 (patch) | |
| tree | c3077c30a16973b45d0959a0c98ef23f14815d97 /init.go | |
| parent | c10d3410a2c48896c76a071643fdc8d1d7428498 (diff) | |
init everything from here
Diffstat (limited to 'init.go')
| -rw-r--r-- | init.go | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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") |
