-
Notifications
You must be signed in to change notification settings - Fork 4
Utilities
CppPhil edited this page Jan 8, 2017
·
1 revision
The code indentation script indent.sh can be used to easily be able to maintain the RIOTNerf coding style consistenly.
to be able to use the RIOTNerf code indentation script GNU indent is required. it can be installed using
To use the RIOTNerf code indentation script run it as follows:
You can pass 1 or more .c or .h files containing C source code to the script.
All these files will be indented in the RIOTNerf coding style upon execution of the script.
Backup files of the original (unmodified) files will be saved and named [file.ext], so
the unmodified backup of main.c would be main.c for instance.