Add utility scripts for finding todos and statics

This commit is contained in:
Doyle Thai 2016-07-20 17:15:31 +10:00
parent 3aaad2fba3
commit 4f5270881f
3 changed files with 31 additions and 0 deletions

Binary file not shown.

19
src/static_check.bat Normal file
View File

@ -0,0 +1,19 @@
@echo off
echo -------
echo -------
set Wildcard=*.h *.cpp *.inl *.c
echo STATICS FOUND:
findstr -s -n -i -l "static" %Wildcard%
echo -------
echo -------
@echo GLOBALS FOUND:
findstr -s -n -i -l "local_persist" %Wildcard%
findstr -s -n -i -l "global_variable" %Wildcard%
echo -------
echo -------

12
src/todo_check.bat Normal file
View File

@ -0,0 +1,12 @@
@echo off
echo -------
echo -------
set Wildcard=*.h *.cpp *.inl *.c
echo TODOS FOUND:
findstr -s -n -i -l "TODO" %Wildcard%
echo -------
echo -------