summaryrefslogtreecommitdiff
path: root/work.go
diff options
context:
space:
mode:
Diffstat (limited to 'work.go')
-rw-r--r--work.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/work.go b/work.go
index 2983aae..2dff988 100644
--- a/work.go
+++ b/work.go
@@ -1,7 +1,7 @@
package main
import (
- "go.wit.com/lib/ENV"
+ "go.wit.com/lib/env"
"go.wit.com/lib/gui/shell"
"go.wit.com/log"
)
@@ -11,10 +11,10 @@ func autoWork() {
if !argv.AutoWork {
return
}
- log.Info("About to re-create", ENV.Get("gopath")+"/go.work")
- shell.PathRun(ENV.Get("gopath"), []string{"mv", "go.work", "go.work.last"})
+ log.Info("About to re-create", env.Get("gopath")+"/go.work")
+ shell.PathRun(env.Get("gopath"), []string{"mv", "go.work", "go.work.last"})
me.forge.MakeGoWork()
- shell.PathRun(ENV.Get("gopath"), []string{"go", "work", "use"})
+ shell.PathRun(env.Get("gopath"), []string{"go", "work", "use"})
log.Info("")
log.Info("original go.work file saved as go.work.last")
log.Info("")