summaryrefslogtreecommitdiff
path: root/init.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-11-01 12:15:41 -0500
committerJeff Carr <[email protected]>2025-11-01 12:15:41 -0500
commit6fa3221e265933038342acb50caad3c2bbb6c136 (patch)
treebe67bef75b839221c6af324a755dc5bf29c81e5c /init.go
parent750a486170538b546d52f7e666b01ccf82fba653 (diff)
test making go.work filesv0.0.197
Diffstat (limited to 'init.go')
-rw-r--r--init.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/init.go b/init.go
index 6962c67..26daa49 100644
--- a/init.go
+++ b/init.go
@@ -76,6 +76,7 @@ func (f *Forge) postInit() error {
if godir, ok := fhelp.FindGoWork(); ok {
f.mode = ForgeMode_GOLANG
cache = "gowork"
+ env.SetGlobal("lib/forgepb", "GoWork", "true")
env.SetGlobal("lib/forgepb", "gopath", godir)
fullname := filepath.Join(godir, "gowork.pb")
env.SetGlobal("lib/forgepb", "ReposPB", fullname)