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

request: support --no-pub #815

Open
1 task done
lishaduck opened this issue Jan 5, 2025 · 2 comments
Open
1 task done

request: support --no-pub #815

lishaduck opened this issue Jan 5, 2025 · 2 comments

Comments

@lishaduck
Copy link

Is there an existing feature request for this?

  • I have searched the existing issues.

Command

No response

Description

The Flutter and Dart CLIs offer an option to turn off calling pub get before they run, which slows them down.
It's called --no-pub, and can be passed to analyze, test (although Melos doesn't have a test command), etc.

Reasoning

I'm on a rather limited machine, so reducing redundant work is important.
pub get can take up to a minute, and while pub workspaces will unify most stuff, they'll also (probably) slow down pub get even more.

Additional context and comments

Alternatively, passing unknown flags to the underlying command might work as well.

@spydon
Copy link
Collaborator

spydon commented Jan 6, 2025

Makes sense, would you be interested in working on that issue?

@lishaduck
Copy link
Author

lishaduck commented Jan 6, 2025

Makes sense, would you be interested in working on that issue?

Interested, yes; actually do it, probably someday? 😁
Now that I think about it, it'd probably be a good introduction before I tackle #747 (I plan on getting to that if no one else does, but I'm pretty busy with other obligations at the moment). (Oh, you're doing that in #816. Thanks!)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants