mirror of
https://github.com/denoland/deno.git
synced 2024-11-21 15:04:11 -05:00
Add cpplint to third_party
This commit is contained in:
parent
6830370c3e
commit
9528ee4a42
3 changed files with 11 additions and 1 deletions
5
.gclient
5
.gclient
|
@ -30,6 +30,11 @@ solutions = [{
|
|||
'https://chromium.googlesource.com/chromium/src/third_party/zlib@39b4a6260702da4c089eca57136abf40a39667e9',
|
||||
'name':
|
||||
'third_party/zlib'
|
||||
}, {
|
||||
'url':
|
||||
'https://github.com/cpplint/cpplint.git@a33992f68f36fcaa6d0f531a25012a4c474d3542',
|
||||
'name':
|
||||
'third_party/cpplint'
|
||||
}, {
|
||||
'url':
|
||||
'https://github.com/rust-lang/libc.git@8a85d662b90c14d458bc4ae9521a05564e20d7ae',
|
||||
|
|
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -2,6 +2,7 @@
|
|||
node_modules
|
||||
/v8/
|
||||
/tools/protoc_wrapper/
|
||||
/third_party/cpplint/
|
||||
/third_party/protobuf/
|
||||
/third_party/zlib/
|
||||
/third_party/rust_crates/libc/
|
||||
|
|
|
@ -1,7 +1,11 @@
|
|||
#!/bin/sh
|
||||
# TODO(ry) Rewrite this script in python for portability to Windows.
|
||||
# TODO(ry) Call tslint here too.
|
||||
set -e
|
||||
cd `dirname "$0"`/..
|
||||
cpplint --filter=-build/include_subdir --repository=src \
|
||||
./third_party/cpplint/cpplint.py \
|
||||
--filter=-build/include_subdir \
|
||||
--repository=src \
|
||||
src/*.cc \
|
||||
src/*.h \
|
||||
src/include/*.h
|
||||
|
|
Loading…
Reference in a new issue