mage: disable install caching

This commit is contained in:
Cadey Ratio 2017-09-30 07:49:03 -07:00
parent 715ba5909b
commit 7e105f5720
No known key found for this signature in database
GPG Key ID: D607EE27C2E7F89A
1 changed files with 4 additions and 2 deletions

View File

@ -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) {