summaryrefslogtreecommitdiff
path: root/tools/ci/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'tools/ci/scripts')
-rwxr-xr-xtools/ci/scripts/deheader.sh14
1 files changed, 14 insertions, 0 deletions
diff --git a/tools/ci/scripts/deheader.sh b/tools/ci/scripts/deheader.sh
index 4e142679b..f15417166 100755
--- a/tools/ci/scripts/deheader.sh
+++ b/tools/ci/scripts/deheader.sh
@@ -6,6 +6,19 @@ export name=${name#./src/}
export name=${name##*./}.h
export dir=$(pwd)
+if [[ $var =~ .*(/sdl2gfx/|src/debug/).* ]]
+then
+ exit 0
+fi
+
+if [ "$skipPath" != "" ];
+then
+ if [[ $var =~ .*($skipPath).* ]]
+ then
+ exit 0
+ fi
+fi
+
echo $1 >>${LOGFILE}
echo $1
@@ -24,4 +37,5 @@ grep -v "deheader: ./src/net/sdltcpnet.cpp has more than one inclusion of <netin
grep -v "deheader: remove <netinet/tcp.h> from ./src/net/sdltcpnet.cpp" | \
grep -v "deheader: remove <climits> from ./src/resources/db/unitsdb.cpp" | \
grep -v "portability requires" | \
+grep -v "SDL2_rotozoom.cpp" | \
tee -a ${LOGFILE}