summaryrefslogtreecommitdiff
path: root/init.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-11-28 21:03:51 -0600
committerJeff Carr <[email protected]>2024-11-28 21:03:51 -0600
commita9e35d54295e979566940d60401014296801e553 (patch)
treec3077c30a16973b45d0959a0c98ef23f14815d97 /init.go
parentc10d3410a2c48896c76a071643fdc8d1d7428498 (diff)
init everything from here
Diffstat (limited to 'init.go')
-rw-r--r--init.go6
1 files changed, 6 insertions, 0 deletions
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")