mirror of
https://github.com/libssh2/libssh2.git
synced 2025-11-18 15:20:56 +03:00
4
.checksrc
Normal file
4
.checksrc
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
disable COPYRIGHT
|
||||||
|
disable FOPENMODE
|
||||||
|
disable SNPRINTF
|
||||||
|
disable TYPEDEFSTRUCT
|
||||||
@@ -81,9 +81,5 @@ coverage: init-coverage build-coverage gen-coverage
|
|||||||
|
|
||||||
checksrc:
|
checksrc:
|
||||||
perl ci/checksrc.pl -i4 -m79 \
|
perl ci/checksrc.pl -i4 -m79 \
|
||||||
-ASNPRINTF \
|
-Wsrc/libssh2_config.h \
|
||||||
-ACOPYRIGHT \
|
src/*.[ch] include/*.h example/*.c tests/*.[ch]
|
||||||
-AFOPENMODE \
|
|
||||||
-ATYPEDEFSTRUCT \
|
|
||||||
-Wsrc/libssh2_config.h src/*.[ch] include/*.h example/*.c \
|
|
||||||
tests/*.[ch]
|
|
||||||
|
|||||||
@@ -4,14 +4,6 @@ set -e
|
|||||||
|
|
||||||
cd "$(dirname "$0")/.."
|
cd "$(dirname "$0")/.."
|
||||||
|
|
||||||
FILES="src/*.[ch] include/*.h example/*.c tests/*.[ch]"
|
|
||||||
WHITELIST="-Wsrc/libssh2_config.h"
|
|
||||||
|
|
||||||
# shellcheck disable=SC2086
|
|
||||||
# shellcheck disable=SC2248
|
|
||||||
perl ./ci/checksrc.pl -i4 -m79 \
|
perl ./ci/checksrc.pl -i4 -m79 \
|
||||||
-ASNPRINTF \
|
-Wsrc/libssh2_config.h \
|
||||||
-ACOPYRIGHT \
|
src/*.[ch] include/*.h example/*.c tests/*.[ch]
|
||||||
-AFOPENMODE \
|
|
||||||
-ATYPEDEFSTRUCT \
|
|
||||||
$WHITELIST $FILES
|
|
||||||
|
|||||||
Reference in New Issue
Block a user