louis993546 / Compose-Composer

Build UI with Jetpack Compose OTG
MIT License
0 stars 1 forks source link

Git hooks #11

Open louis993546 opened 3 years ago

louis993546 commented 3 years ago
  1. Contribute to IntelliJ to read git hooks path from config, instead of always assuming it comes from .git/hooks
  2. Update doc. Example
    3. Open terminal
    4. Setup git hooks with
        `git config --local core.hooksPath .githooks/`
  3. Figure out what should go into each hook
    • pre-commit: spotless, maybe Android lint if it's not too slow
    • pre-push: can i run all unit tests?
louis993546 commented 3 years ago

See https://github.com/JetBrains/intellij-community/pull/1460 and https://youtrack.jetbrains.com/issue/IDEA-193572

louis993546 commented 3 years ago

Contribution is done, now just have to try to see if it works in the 2012.2 preview (once it's released of course)