A small tool to build and link together multiple go packages
This tool was designed to work with pluggo, to perform linking of plugins with the application/library they're intended for.
It can also be used in other cases, where you're importing a package only for its side-effects, e.g.:
- To link additional
database/sqldrivers - To link
pprofat compile-time - ...
go install github.com/cafxx/pluggo/cmd/multibuild
multibuild <mainPkg> <importPkg1> <importPkg2> ... will build <mainPkg> (as
if go build <mainPkg> had been invoked) and link it together with the
additional <importPkg>s.
multibuild -h prints usage instructions.
Good question. It is literally beyond me.