Skip to content

Commit c329f57

Browse files
committed
Add all supported sketch filename extensions to examples_formatter.sh
1 parent c411077 commit c329f57

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: examples_formatter.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
# you need to have astyle installed before running this
2-
find examples -name '*.ino' -exec astyle --options=examples_formatter.conf {} \;
2+
find examples -regextype posix-extended -regex '.*\.((ino)|(h)|(cpp)|(c))$' -and -type f -exec astyle --options=examples_formatter.conf {} \;

0 commit comments

Comments
 (0)