massa icon indicating copy to clipboard operation
massa copied to clipboard

Optional support for githooks

Open aoudiamoncef opened this issue 2 years ago • 1 comments

  • [x] document all added functions
  • [x] try in sandbox /simulation/labnet
  • [x] unit tests on the added/changed features
    • [x] make tests compile
    • [x] make tests pass
  • [x] add logs allowing easy debugging in case the changes caused problems
  • [x] if the API has changed, update the API specification

closes #3080

aoudiamoncef avatar Jan 27 '23 16:01 aoudiamoncef

@AurelienFT I tried different options and this solution in PR is:

  • Optional
  • Easy to install
  • Don't add a new dependency

Generate git hooks run: cargo install rusty-hook && rusty-hook

That's it.

aoudiamoncef avatar Jan 27 '23 16:01 aoudiamoncef

Bors merge

aoudiamoncef avatar Jan 30 '23 08:01 aoudiamoncef

Build succeeded:

bors[bot] avatar Jan 30 '23 09:01 bors[bot]