aboutsummaryrefslogtreecommitdiff
path: root/env.go
diff options
context:
space:
mode:
Diffstat (limited to 'env.go')
-rw-r--r--env.go16
1 files changed, 0 insertions, 16 deletions
diff --git a/env.go b/env.go
index 019c5ac..6fc8fdf 100644
--- a/env.go
+++ b/env.go
@@ -1350,19 +1350,3 @@ func (env *Env) build(pkg *Package) (err error) {
// Install missing dependencies.
return env.installMissing(pkg)
}
-
-func (env *Env) reinstallAll() (err error) {
- for _, pkg := range env.pkgs {
- fmt.Printf("\n[ENV] reinstallAll >>> %s\n", pkg.ImportPath)
-
- err = env.build(pkg)
- if err != nil {
- return
- }
-
- if len(pkg.DepsMissing) == 0 {
- _ = pkg.GoInstall(env.path)
- }
- }
- return
-}