mage: go build -v, install-cache packages

This commit is contained in:
Cadey Ratio 2017-09-30 07:46:38 -07:00
parent 4178527b9b
commit 715ba5909b
No known key found for this signature in database
GPG Key ID: D607EE27C2E7F89A
1 changed files with 3 additions and 1 deletions

View File

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