summaryrefslogtreecommitdiff
path: root/tools/lint.sh
blob: 54bc43f94ee3a9c7c659ea06034543cb353a36e4 (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh
# TODO(ry) Rewrite this script in python for portability to Windows.
set -e
cd `dirname "$0"`/..
./third_party/cpplint/cpplint.py \
  --filter=-build/include_subdir \
  --repository=src  \
  src/*.cc \
  src/*.h \
  src/include/*.h
node ./js/node_modules/.bin/tslint -p .