From 7e105f57206c456c722d1a5ca2d108a245fe86c7 Mon Sep 17 00:00:00 2001 From: Christine Dodrill Date: Sat, 30 Sep 2017 07:49:03 -0700 Subject: [PATCH] mage: disable install caching --- mage.go | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/mage.go b/mage.go index 9ad798c..d49b2ef 100644 --- a/mage.go +++ b/mage.go @@ -42,8 +42,10 @@ 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", "-v", pkgBase+pkgname) - shouldWork(ctx, env, dir, "go", "install", pkgBase+pkgname) - shouldWork(ctx, env, dir, "go", "build", "-v", pkgBase+pkgname) + + // TODO: `go install` caching of built packages + //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) {