mage: disable install caching
This commit is contained in:
parent
715ba5909b
commit
7e105f5720
6
mage.go
6
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) {
|
||||
|
|
Loading…
Reference in New Issue