1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-30 16:40:57 -05:00
denoland-deno/tools/lint.sh
2018-07-01 15:28:36 +02:00

11 lines
275 B
Bash
Executable file

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