mirror of
https://github.com/martijnvanbrummelen/nwipe.git
synced 2026-02-20 05:32:14 +00:00
Merge pull request #189 from louib/format_doc
code formatting developer doc.
This commit is contained in:
@@ -111,6 +111,13 @@ through the code properly.
|
|||||||
|
|
||||||
The `-Wall` and `-Wextra` flags enable all compiler warnings. Please submit code with zero warnings.
|
The `-Wall` and `-Wextra` flags enable all compiler warnings. Please submit code with zero warnings.
|
||||||
|
|
||||||
|
Also make sure that your changes are consistent with the coding style defined in the `.clang-format` file, using:
|
||||||
|
```
|
||||||
|
make format
|
||||||
|
```
|
||||||
|
You will need `clang-format` installed to use the `format` command.
|
||||||
|
|
||||||
|
|
||||||
Once done with your coding then the released/patch/fixed code can be compiled,
|
Once done with your coding then the released/patch/fixed code can be compiled,
|
||||||
with all the normal optimisations, using:
|
with all the normal optimisations, using:
|
||||||
```
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user