mage: go build -v, install-cache packages
This commit is contained in:
parent
4178527b9b
commit
715ba5909b
4
mage.go
4
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) {
|
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) {
|
func goBuildPlugin(ctx context.Context, dir, pkgname, fname string) {
|
||||||
|
|
Loading…
Reference in New Issue