tree-sitter/script/lint.sh
2014-03-09 22:24:52 -07:00

7 lines
264 B
Bash
Executable file

#!/usr/bin/env bash
filters=-whitespace,-readability/namespace,-legal/copyright
cpplint=externals/cpplint.py
find src/compiler -type f | xargs $cpplint --root=src --filter=$filters 2>&1
find include -type f | xargs $cpplint --root=include --filter=$filters 2>&1