mirror of
https://github.com/arcan1s/awesome-widgets.git
synced 2025-04-25 07:57:19 +00:00
* add cppcheck script proto (TODO include directories according ot cmake output) TODO do it while build time and/or commit
11 lines
430 B
Bash
Executable File
11 lines
430 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# This script will check the source code by using clang-format with required arguments.
|
|
# The template comes from https://gist.github.com/Uflex/7086827
|
|
# More details may be found here http://clang.llvm.org/docs/ClangFormatStyleOptions.html
|
|
|
|
clang-format -i \
|
|
-style=file \
|
|
$(find ../sources -not -path '*3rdparty*' \
|
|
-and \( -name '*.cpp' -or -name '*.h' \))
|