File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 3
3
function install() {
4
4
wget https://download.pytorch.org/libtorch/nightly/cpu/libtorch-shared-with-deps-latest.zip
5
5
unzip libtorch-shared-with-deps-latest.zip
6
- rm -rf libtorch-shared-with-deps-latest.zip
6
+ rm -rf libtorch-shared-with-deps-latest.zip
7
7
}
8
8
9
9
function build() {
@@ -15,11 +15,13 @@ function build() {
15
15
}
16
16
17
17
function lint() {
18
- cpplint --linelength=120 main.cpp tutorials/* /* /**
18
+ cpplint --linelength=120 --recursive \
19
+ --filter=-build/include_subdir,-build/include_what_you_use main.cpp tutorials/* /* /**
19
20
}
20
21
21
22
function lintci() {
22
- python cpplint.py --linelength=120 main.cpp tutorials/* /* /**
23
+ python cpplint.py --linelength=120 --recursive \
24
+ --filter=-build/include_subdir,-build/include_what_you_use main.cpp tutorials/* /* /**
23
25
}
24
26
25
27
if [ $1 = " install" ]
You can’t perform that action at this time.
0 commit comments