You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

888 B

Git Hooks

This folder might contain some git-hooks to execute various checkup in Kagome.

To activate presented (and all future) hooks just execute once shell-script activate_hooks.sh from Kagome project root path.

pre-commit

This hook check existing clang-format and cmake-format and their versions. If they have recommended version, specific checkup is enabled.

Each changed C++ file (.hpp and .cpp extensions) gets processed by clang-format.

Each changed CMake file (CMakeLists.txt and .cmake extension) gets processed by cmake-format

Commit will be blocked while there are any differences between original files and clang-format/cmake-format output files.

etc.

Other hooks might be provided by maintainers in the future.