Skip to content
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: add work package pattern matching all packages in work modules #71294

Open
matloob opened this issue Jan 16, 2025 · 2 comments
Labels
Proposal ToolProposal Issues describing a requested change to a Go tool or command-line program.
Milestone

Comments

@matloob
Copy link
Contributor

matloob commented Jan 16, 2025

Proposal Details

I'm making this proposal to resolve #50745

This proposal is to add a new package meta-pattern to join the already existing all, std, cmd, and tool patterns. The work pattern would match all packages in the work (formerly called main) modules: either the single work module in module mode or the set of workspace modules in workspace mode.

This would allow for a single pattern to build or test all of those packages, similar to using ./... at the root of a module to test a single module's packages.

cc @hyangah @rsc @samthanawalla

@gabyhelp
Copy link

Related Issues

(Emoji vote if this was helpful or unhelpful; more detailed feedback welcome in this discussion.)

@gabyhelp gabyhelp added the ToolProposal Issues describing a requested change to a Go tool or command-line program. label Jan 16, 2025
@ianlancetaylor ianlancetaylor moved this to Incoming in Proposals Jan 16, 2025
@gopherbot
Copy link
Contributor

Change https://go.dev/cl/643235 mentions this issue: cmd/go: add work package pattern

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Proposal ToolProposal Issues describing a requested change to a Go tool or command-line program.
Projects
Status: Incoming
Development

No branches or pull requests

3 participants