diff --git a/dist/cpplint.sh b/dist/cpplint.sh new file mode 100755 index 000000000..67bd01838 --- /dev/null +++ b/dist/cpplint.sh @@ -0,0 +1,7 @@ +#!/usr/bin/env bash +dire=$1 +if [ x$dire == "x" ];then + dire="src" +fi + +find $dire -regex '.*\.\(h\|cpp\|mm\)' -type f -exec ./dist/cpplint.py --root=src {} 2>&1 \;