Fix lint errors in public compiler header

This commit is contained in:
Max Brunsfeld 2014-07-22 07:52:12 -07:00
parent cfd4d423a9
commit 18e918b704
2 changed files with 18 additions and 17 deletions

View file

@ -8,9 +8,7 @@ if [[ ! -f $CPPLINT ]]; then
chmod +x $CPPLINT
fi
$CPPLINT \
--root=src \
--linelength=85 \
--filter=-legal/copyright,-readability/todo \
$(find src/compiler -type f) \
2>&1
FILTERS='--filter=-legal/copyright,-readability/todo'
$CPPLINT --root=include $FILTERS include/tree_sitter/compiler.h 2>&1
$CPPLINT --root=src $FILTERS $(find src/compiler -type f) 2>&1