Skip to content

Commit 3572f03

Browse files
committed
fix linters
1 parent 5c110a8 commit 3572f03

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

Taskfile.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ tasks:
5151
-type d -name '.licenses' -prune -o \
5252
-type d -name '__pycache__' -prune -o \
5353
-type d -name 'node_modules' -prune -o \
54+
-type d -path "./deps/*" -prune -o \
5455
-regex ".*[.]md" -print
5556
); do
5657
markdown-link-check \
@@ -78,7 +79,7 @@ tasks:
7879
- task: npm:install-deps
7980
cmds:
8081
- npx markdownlint-cli "**/*.md"
81-
82+
8283
# Source: https://github.com/arduino/tooling-project-assets/blob/main/workflow-templates/assets/npm-task/Taskfile.yml
8384
npm:install-deps:
8485
desc: Install dependencies managed by npm
@@ -111,9 +112,7 @@ tasks:
111112
-type d -name 'node_modules' -prune -or \
112113
-type d -path './deps/*' -prune -or \
113114
\( \
114-
-regextype posix-extended \
115-
-regex '.*[.](bash|sh)' -and \
116-
-type f \
115+
-name '*.bash' -or -name '*.sh' -and -type f \
117116
\) \
118117
-print
119118
)

deps/build_libs.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@ export PREFIX=/opt/lib/${CROSS_COMPILE}
77

88
if [ "$CROSS_COMPILER" == "" ]; then
99
CROSS_COMPILER=${CROSS_COMPILE}-gcc
10-
CROSS_COMPILER_CXX=${CROSS_COMPILE}-g++
10+
# CROSS_COMPILER_CXX=${CROSS_COMPILE}-g++
1111
# AR=${CROSS_COMPILE}-ar
1212
else
1313
export CC=$CROSS_COMPILER
1414
export CXX=$CROSS_COMPILER++
1515
CROSS_COMPILER=$CC
16-
CROSS_COMPILER_CXX=$CXX
16+
# CROSS_COMPILER_CXX=$CXX
1717
fi
1818
cd /opt/lib/libusb-1.0.28
1919
LIBUSB_DIR=$(pwd)

0 commit comments

Comments
 (0)