new stuff
This commit is contained in:
parent
8998bc3936
commit
64c8492e5c
6907 changed files with 3401899 additions and 0 deletions
13
assimp/scripts/scan_printf.sh
Normal file
13
assimp/scripts/scan_printf.sh
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
#!/bin/bash
|
||||
|
||||
grep \
|
||||
--include=\*.{c,cpp,h} \
|
||||
--exclude={pstdint,m3d}.h \
|
||||
-rnw include code \
|
||||
-e '^\s*printf'
|
||||
|
||||
if [ $? -eq 0 ]; then
|
||||
echo "Debug statement(s) detected. Please uncomment (using single-line comment), remove, or manually add to exclude filter, if appropriate"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue