diff options
author | Clyne Sullivan <clyne@bitgloo.com> | 2019-09-17 13:55:22 -0400 |
---|---|---|
committer | Clyne Sullivan <clyne@bitgloo.com> | 2019-09-17 13:55:22 -0400 |
commit | ceda39e4bd2e3a7794f0cb4f96df1de6ebee47d2 (patch) | |
tree | ba5451b6dcade324114d145d526e7c5b5465689a /todo.sh | |
parent | dbb26902ed54ce308fdcec4697616e152f2894fd (diff) | |
parent | 0236eb7f6391c9d925dcaaddb8cb01ecfb7d5e55 (diff) |
update with master; using VBOs for fonts
Diffstat (limited to 'todo.sh')
-rwxr-xr-x | todo.sh | 19 |
1 files changed, 19 insertions, 0 deletions
@@ -0,0 +1,19 @@ +#!/bin/bash + +# +# Searches for all TODOs and tosses them in a file. +# +TODO_COUNT=0 +rm -f TODOS +touch TODOS + +for file in $(find {src,Shaders,Scripts} -type f -name '*' -print) +do + echo "########################################" >> TODOS + echo $file >> TODOS + echo "========================================" >> TODOS + grep -n -B 5 -A 5 "TODO" $file | sed s/--/========================================/g >> TODOS + TODO_COUNT=$((TODO_COUNT+$(grep -c "TODO" $file))) +done + +echo "Found" $TODO_COUNT "TODOs." |