Skip to content
Prev Previous commit
Next Next commit
Add additional supported file extensions to formatter script
The `.ipp` and `.tpp` file extensions, commonly used for inline or template function definitions included in C++ header
files, have now been added to the Arduino sketch specification as supported extensions. Even though it is unlikely such
extensions will ever be used in the example sketches of this repository, it is best to be comprehensive in the
extensions covered by the formatter script
  • Loading branch information
per1234 committed Oct 3, 2022
commit dac0093581e24a5922f213c61b16b90dbf9c5d2b
4 changes: 3 additions & 1 deletion examples_formatter.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@ find \
-name '*.c' -or \
-name '*.cpp' -or \
-name '*.h' -or \
-name '*.ino' \
-name '*.ino' -or \
-name '*.ipp' -or \
-name '*.tpp' \
\) \
-type f \
-exec \
Expand Down