From 715ba5909b05d72120c57ed0857f5449c479690b Mon Sep 17 00:00:00 2001 From: Christine Dodrill Date: Sat, 30 Sep 2017 07:46:38 -0700 Subject: [PATCH] mage: go build -v, install-cache packages --- mage.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/mage.go b/mage.go index 620e678..9ad798c 100644 --- a/mage.go +++ b/mage.go @@ -41,7 +41,9 @@ func shouldWork(ctx context.Context, env []string, dir string, cmdName string, a } func goBuild(ctx context.Context, env []string, dir string, pkgname string) { - shouldWork(ctx, env, dir, "go", "build", pkgBase+pkgname) + shouldWork(ctx, env, dir, "go", "build", "-v", pkgBase+pkgname) + shouldWork(ctx, env, dir, "go", "install", pkgBase+pkgname) + shouldWork(ctx, env, dir, "go", "build", "-v", pkgBase+pkgname) } func goBuildPlugin(ctx context.Context, dir, pkgname, fname string) {