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

feat(cli): create ios/android template #245

Merged
merged 10 commits into from
Oct 30, 2024
Merged

feat(cli): create ios/android template #245

merged 10 commits into from
Oct 30, 2024

Conversation

vivianjeng
Copy link
Collaborator

Copy link

cloudflare-workers-and-pages bot commented Oct 22, 2024

Deploying mopro with  Cloudflare Pages  Cloudflare Pages

Latest commit: e309763
Status: ✅  Deploy successful!
Preview URL: https://cd3cf56b.mopro.pages.dev
Branch Preview URL: https://cli-create.mopro.pages.dev

View logs

@vivianjeng vivianjeng changed the title feat(cli): create ios template feat(cli): create ios/android template Oct 28, 2024
@vivianjeng vivianjeng marked this pull request as ready for review October 28, 2024 06:49
cli/src/build.rs Outdated
@@ -1,4 +1,7 @@
use crate::style::{self, blue_bold, print_green_bold};
use crate::{
Copy link
Collaborator

Choose a reason for hiding this comment

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

In my rust files I put 1 import per line to prevent merge conflicts. I order the imports as std first, external crates second, and local modules third. A good example is here

Copy link
Collaborator

Choose a reason for hiding this comment

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

In my rust files I put 1 import per line to prevent merge conflicts. I order the imports as std first, external crates second, and local modules third. A good example is here

I follow this rule as well. we could consider enabling group_imports in rustfmt to help avoid conflicts and keep lines shorter.
It’s an unstable feature but might be worth trying.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@sifnoc Yes currently I don't follow the order to import packages
We can do that in another PR 👍🏻

cli/src/create.rs Outdated Show resolved Hide resolved
@vivianjeng vivianjeng merged commit dc5609b into main Oct 30, 2024
25 checks passed
@vivianjeng vivianjeng deleted the cli-create branch October 30, 2024 02:26
@vivianjeng vivianjeng mentioned this pull request Oct 30, 2024
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.

3 participants