mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
CONTRIBUTING: add --no-backup to uncrustify
This commit is contained in:
parent
ef92773f99
commit
7e57cf2c8f
@ -105,9 +105,12 @@ It is possible to check if your code follows these conventions:
|
|||||||
* You can [uncrustify] `.c` and `.h` files:
|
* You can [uncrustify] `.c` and `.h` files:
|
||||||
|
|
||||||
```console
|
```console
|
||||||
$ uncrustify -c $RIOTBASE/uncrustify-riot.cfg <your file>
|
$ uncrustify -c $RIOTBASE/uncrustify-riot.cfg --no-backup <your file>
|
||||||
```
|
```
|
||||||
|
|
||||||
|
**Note**: The `--no-backup` flag makes uncrustify *replace* the current file
|
||||||
|
with a formatted version.
|
||||||
|
|
||||||
* RIOT provides static test tools to verify the quality of changes (cppcheck,
|
* RIOT provides static test tools to verify the quality of changes (cppcheck,
|
||||||
trailing whitespaces, documentation, etc). These tools are wrapped in a
|
trailing whitespaces, documentation, etc). These tools are wrapped in a
|
||||||
single `make` target: `static-test`.
|
single `make` target: `static-test`.
|
||||||
|
Loading…
Reference in New Issue
Block a user