-
Notifications
You must be signed in to change notification settings - Fork 17.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
proposal: cmd/go: go build should build multiple main packages #23616
Comments
I guess we would have to prohibit the |
Probably, putting all files into the current directory is the least surprising solution, and it's also compatible with how |
I would attempt a patch, but I think it needs decision first... @rsc? |
@rsc I would like to implement this, but can you please ack on the general idea first? |
Ping @rsc |
Bumping to proposal so this will get looked at during our next meeting. |
Duplicate of #14295, which I commented on last week. I think this should just work. #14295 (comment) |
go help build
says:The fact that
go build
doesn't build is counter-intuitive. It would be great to change it to generate binaries (just like it does when a single package is specified). Especially now with the build cache, it doesn't sound too much of a burden, and it would further reduce cases where an external build system is required.The text was updated successfully, but these errors were encountered: