A hack to check code with cpplint.py
This commit is contained in:
parent
b7da89b978
commit
8f646de79d
|
@ -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 \;
|
Loading…
Reference in New Issue