You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: arduino-ci-script.sh
+1-1
Original file line number
Diff line number
Diff line change
@@ -1457,7 +1457,7 @@ function check_library_structure() {
1457
1457
fi
1458
1458
1459
1459
# Check for incorrect spelling of examples folder
1460
-
if [[ $(find "$normalizedLibraryPath" -maxdepth 1 -type d -and -iregex '^.*/examples?$')&&!$(find "$normalizedLibraryPath" -maxdepth 1 -type d -and -name 'examples') ]];then
1460
+
if [[ $(find "$normalizedLibraryPath" -regextype posix-extended -maxdepth 1 -type d -and -iregex '^.*/(examples?)|(exampels?)$')&&!$(find "$normalizedLibraryPath" -maxdepth 1 -type d -and -name 'examples') ]];then
1461
1461
echo"ERROR: ${normalizedLibraryPath}: Incorrect examples folder name. It should be spelled exactly \"examples\". Incorrect examples folder name will cause importing the library to Arduino Web Editor to fail and examples to not be available in Arduino Web Editor for Library Manager libraries. See: https://github.com/arduino/Arduino/wiki/Arduino-IDE-1.5:-Library-specification#library-examples"
0 commit comments