1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-25 15:29:32 -05:00
denoland-deno/tools/lint.sh

12 lines
275 B
Bash
Raw Normal View History

#!/bin/sh
2018-07-01 08:18:49 -04:00
# TODO(ry) Rewrite this script in python for portability to Windows.
# TODO(ry) Call tslint here too.
set -e
cd `dirname "$0"`/..
2018-07-01 08:18:49 -04:00
./third_party/cpplint/cpplint.py \
--filter=-build/include_subdir \
--repository=src \
src/*.cc \
src/*.h \
src/include/*.h