summaryrefslogtreecommitdiff
path: root/init.go
diff options
context:
space:
mode:
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)