Rewrite continues:
[core.git] / contrib / todo-builder.sh
index 295b6ba0f923fd980b854f1a4135b236f463c278..0a5ae001987096941037591a078924268d3e64e2 100755 (executable)
@@ -11,8 +11,8 @@ fi
 echo "$0: Generating TODOs.txt..."
 echo "### WARNING: THIS FILE IS AUTO-GENERATED BY $0 ###" > docs/TODOs.txt
 echo "### DO NOT EDIT THIS FILE. ###" >> docs/TODOs.txt
-find -type f -name "*.php" -exec grep -Hin "@TODO" {} \; | sort >> docs/TODOs.txt
+find -type f -name "*.php" -exec grep -Hin "@TODO" {} \; | grep -v "/vendor/" | sort >> docs/TODOs.txt
 echo "### ### DEPRECATION FOLLOWS: ### ###" >> docs/TODOs.txt
-find -type f -name "*.php" -exec grep -Hin "@DEPRECATED" {} \; | sort >> docs/TODOs.txt
+find -type f -name "*.php" -exec grep -Hin "@DEPRECATED" {} \; | grep -v "/vendor/" | sort >> docs/TODOs.txt
 echo "$0: Done."
 exit 0