0c3cd66016
* fix: fix C++ lint * fix: attach `InvalidateCacheOnDestroy` to `jsi::Runtime`
8 lines
354 B
Bash
Executable File
8 lines
354 B
Bash
Executable File
#!/bin/bash
|
|
|
|
if which cpplint >/dev/null; then
|
|
cpplint --linelength=230 --filter=-legal/copyright,-readability/todo,-build/namespaces,-runtime/references,-whitespace/comments,-build/include_order,-build/c++11 --quiet --recursive cpp android/src/main/cpp
|
|
else
|
|
echo "warning: cpplint not installed, download from https://github.com/cpplint/cpplint"
|
|
fi
|