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

Add a fix command to run dart fix across all packages #458

Closed
jakemac53 opened this issue Sep 21, 2023 · 2 comments · Fixed by #459
Closed

Add a fix command to run dart fix across all packages #458

jakemac53 opened this issue Sep 21, 2023 · 2 comments · Fixed by #459

Comments

@jakemac53
Copy link
Collaborator

No description provided.

@jakemac53
Copy link
Collaborator Author

jakemac53 commented Sep 22, 2023

@kevmoo another option could be just a dart command (replacement for the pub command, which would become just an alias for dart pub?). That would be quite a lot more general and support things like mono_repo dart run build_runner build.

@kevmoo
Copy link
Collaborator

kevmoo commented Sep 22, 2023

Sure!!

jakemac53 added a commit that referenced this issue Sep 26, 2023
This enables things like mono_repo dart fix --apply, mono_repo dart analyze, mono_repo dart run build_runner build etc.

I did bump the min SDK so I could use a switch expression, let me know if you feel strongly about supporting older SDKs. They can still use older versions so I think it's fine though.

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

Successfully merging a pull request may close this issue.

2 participants