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 auto-formatting to build pipeline #70

Open
2 tasks
david-allison opened this issue Apr 4, 2021 · 3 comments
Open
2 tasks

Add auto-formatting to build pipeline #70

david-allison opened this issue Apr 4, 2021 · 3 comments

Comments

@david-allison
Copy link
Member

  • rustfmt
  • Some Java formatting (Google?)
@mikehardy
Copy link
Member

This is interesting - some other repos I work on have cast about for something for java

https://github.com/google/google-java-format

And their release notes may incidentally fix the AnkiDroid JDK16 build issue ankidroid/Anki-Android#8434 !

https://github.com/google/google-java-format#jdk-16

@mikehardy
Copy link
Member

this is in actual use in a repo I maintain with others, and thus maybe useful as a recipe

"format:android": "google-java-format --replace -i $(find . -type f -name "*.java")",

@dae
Copy link
Contributor

dae commented Aug 24, 2023

Rust formatting is already covered by CI / check-rust.sh. Kotlin formatting could presumably be handled in a similar way Anki-Android.

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

No branches or pull requests

3 participants