Skip to content
Snippets Groups Projects
  • Sergey Bronnikov's avatar
    2e31751d
    cmake: introduce target checkpatch · 2e31751d
    Sergey Bronnikov authored
    The patch introduces a new CMake target "checkpatch", that checks
    patches on top of the master branch using script checkpatch.pl [1]. By
    default CMake looking for `checkpatch.pl` in a directory "checkpatch" in
    Tarantool's repository root directory and in a directories specified in
    PATH. By default commit revisions range checked by checkpatch is
    `origin/master..HEAD`, `origin/master` could be overridden with
    environment variable `CHECKPATCH_GIT_REF`.
    
    1. https://github.com/tarantool/checkpatch
    
    NO_CHANGELOG=build
    NO_DOC=build
    NO_TEST=build
    2e31751d
    History
    cmake: introduce target checkpatch
    Sergey Bronnikov authored
    The patch introduces a new CMake target "checkpatch", that checks
    patches on top of the master branch using script checkpatch.pl [1]. By
    default CMake looking for `checkpatch.pl` in a directory "checkpatch" in
    Tarantool's repository root directory and in a directories specified in
    PATH. By default commit revisions range checked by checkpatch is
    `origin/master..HEAD`, `origin/master` could be overridden with
    environment variable `CHECKPATCH_GIT_REF`.
    
    1. https://github.com/tarantool/checkpatch
    
    NO_CHANGELOG=build
    NO_DOC=build
    NO_TEST=build