1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-22 07:14:47 -05:00
denoland-deno/tools/lint.sh
2018-07-04 16:43:08 -04:00

12 lines
323 B
Bash
Executable file

#!/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 third_party/node_modules/.bin/tslint -p . \
--exclude js/msg_generated.ts