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

[ Workspaces ] Allow dart pub workspace to exec custom commands #6323

Open
1 task
cl0v opened this issue Jan 12, 2025 · 0 comments
Open
1 task

[ Workspaces ] Allow dart pub workspace to exec custom commands #6323

cl0v opened this issue Jan 12, 2025 · 0 comments
Labels
from.page-issue Reported in a reader-filed concern

Comments

@cl0v
Copy link

cl0v commented Jan 12, 2025

Page URL

https://dart.dev/tools/pub/workspaces/

Page source

https://github.com/dart-lang/site-www/tree/main/src/content/tools/pub/workspaces.md

Describe the problem

dart pub workspace only have the list subcommand yet and this makes it not as viable as Melos.

Is it possible to create a exec command like the Melos exec where we can perform custom commands for every package at the workspace like some build_runner or others?

Expected fix

dart pub workspace exec -- "flutter pub run build_runner build" should work and others as well.

Additional context

No response

I would like to fix this problem.

  • I will try and fix this problem on dart.dev.
@cl0v cl0v added the from.page-issue Reported in a reader-filed concern label Jan 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
from.page-issue Reported in a reader-filed concern
Projects
None yet
Development

No branches or pull requests

1 participant