Skip to content

feat: add the ability to format more than one project at a time.#84

Merged
kylewlacy merged 1 commit into
brioche-dev:mainfrom
jaudiger:format-multiple-projects
Jul 12, 2024
Merged

feat: add the ability to format more than one project at a time.#84
kylewlacy merged 1 commit into
brioche-dev:mainfrom
jaudiger:format-multiple-projects

Conversation

@jaudiger
Copy link
Copy Markdown
Contributor

Add the ability to format more than one project at a time by authorizing the usage of multiple -p arguments.

Part of #75

Signed-off-by: jaudiger <jeremy.audiger@ioterop.com>
Copy link
Copy Markdown
Member

@kylewlacy kylewlacy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

I did find one thing that could be improved: if you run brioche fmt --check -p project1 -p project2 and both projects have formatting issues, then only the files for one of the projects will get printed

But I also don't feel that this is a blocker, I'm fine merging this as-is and handling that as a future issue or follow-up

@jaudiger
Copy link
Copy Markdown
Contributor Author

Thank you, I'll do that in a follow-up. I always prefer to reduce the scope of my PRs. To reduce the review burden, the regression's scope, etc. At the end there are more PRs opened, but that's my trade-off

@kylewlacy kylewlacy merged commit 7647182 into brioche-dev:main Jul 12, 2024
@jaudiger jaudiger deleted the format-multiple-projects branch July 13, 2024 19:47
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 this pull request may close these issues.

2 participants