aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShulhan <ms@kilabit.info>2018-07-03 01:17:24 +0700
committerShulhan <ms@kilabit.info>2018-07-03 01:17:24 +0700
commit53d50f6c36df97f9c02e0bd313204b7dda6a81be (patch)
tree23333c8fbf2f1838f9130221e7feabf9605a64f0
parentbc9faaf647a61bb07b37b4221f761e0cef40cb0d (diff)
downloadbeku-53d50f6c36df97f9c02e0bd313204b7dda6a81be.tar.xz
[chore] env: print the status of reinstall all packages
-rw-r--r--env.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/env.go b/env.go
index 4c45ad9..ae490a5 100644
--- a/env.go
+++ b/env.go
@@ -211,7 +211,7 @@ func (env *Env) Freeze() (err error) {
}
if len(env.pkgsUnused) == 0 {
- fmt.Println("[ENV] Freeze >>> No unused packages found.")
+ fmt.Println("\n[ENV] Freeze >>> No unused packages found.")
goto out
}
@@ -1391,6 +1391,8 @@ func (env *Env) build(pkg *Package) (err error) {
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