This video will cover the basics on how to create a git hook using Rust.
Links:
- pre-commit: https://pre-commit.com/
- Git hooks documentation: https://git-scm.com/book/en/v2/Customizing-Git-Git-Hooks
- Rust by example -- Unit testing: https://doc.rust-lang.org/rust-by-example/testing/unit_testing.html
- Rust fmt git repo: https://github.com/rust-lang/rustfmt
- Rust docs:
- args: https://doc.rust-lang.org/std/env/fn.args.html
- process::exit: https://doc.rust-lang.org/std/process/fn.exit.html
- ExistStatus: https://doc.rust-lang.org/std/process/struct.ExitStatus.html
My social links:
- Twitter: https://twitter.com/Crazcalm
- IG: https://www.instagram.com/crazcalm.tech.stack/