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 33function install() {
44 wget https://download.pytorch.org/libtorch/nightly/cpu/libtorch-shared-with-deps-latest.zip
55 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
77}
88
99function build() {
@@ -15,11 +15,13 @@ function build() {
1515}
1616
1717function 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/* /* /**
1920}
2021
2122function 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/* /* /**
2325}
2426
2527if [ $1 = " install" ]
You can’t perform that action at this time.
0 commit comments