mage: log plugin building
This commit is contained in:
parent
2074d01b9e
commit
61af71fdd3
3
mage.go
3
mage.go
|
@ -54,7 +54,8 @@ func goBuildPlugin(ctx context.Context, dir, pkgname, fname string) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
shouldWork(ctx, nil, dir, "go", "build", "-buildmode=plugin", "-o="+fname, pkgBase+pkgname)
|
shouldWork(ctx, nil, dir, "go", "build", "-v", "-buildmode=plugin", "-o="+fname, pkgBase+pkgname)
|
||||||
|
qod.Printlnf("built %s for %s", fname, runtime.GOOS)
|
||||||
}
|
}
|
||||||
|
|
||||||
func buildBins(goos string) {
|
func buildBins(goos string) {
|
||||||
|
|
Loading…
Reference in New Issue