karalabe / xgo

Go CGO cross compiler
MIT License
2.14k stars 280 forks source link

Handle ellipsis (cmd/...) syntax for producing multiple distinct programs #190

Open mcandre opened 4 years ago

mcandre commented 4 years ago

You can go get <repo>/cmd/... to quickly build and install multiple distinct command line applications found in a Go repository. Could xgo please be extended to handle this syntax as well?

As a workaround, I am explicitly running xgo over each of my command program names :P

d1y commented 4 years ago

Have you found a solution?

davidalpert commented 4 years ago

I'm also using that workaround, spinning up the same container 3 times, once for each single cmd package I'm building. seems like this could be more efficient