aboutsummaryrefslogtreecommitdiffstats
path: root/todo.sh
diff options
context:
space:
mode:
authorClyne Sullivan <clyne@bitgloo.com>2019-09-17 13:55:22 -0400
committerClyne Sullivan <clyne@bitgloo.com>2019-09-17 13:55:22 -0400
commitceda39e4bd2e3a7794f0cb4f96df1de6ebee47d2 (patch)
treeba5451b6dcade324114d145d526e7c5b5465689a /todo.sh
parentdbb26902ed54ce308fdcec4697616e152f2894fd (diff)
parent0236eb7f6391c9d925dcaaddb8cb01ecfb7d5e55 (diff)
update with master; using VBOs for fonts
Diffstat (limited to 'todo.sh')
-rwxr-xr-xtodo.sh19
1 files changed, 19 insertions, 0 deletions
diff --git a/todo.sh b/todo.sh
new file mode 100755
index 0000000..9520eab
--- /dev/null
+++ b/todo.sh
@@ -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."