mirror of
https://github.com/fergalmoran/flameshot.git
synced 2025-12-22 09:51:06 +00:00
Add instructions for how to format code
This took @jfly and me far too long to figure out how to actually get the code formatted.
This commit is contained in:
committed by
borgmanJeremy
parent
cc34ede2c7
commit
3ceaf66cd8
@@ -19,6 +19,7 @@ For small fixes or incremental improvements simply fork the repo and follow the
|
|||||||
2. Start coding!
|
2. Start coding!
|
||||||
- Implement your feature.
|
- Implement your feature.
|
||||||
- Check your code works as expected.
|
- Check your code works as expected.
|
||||||
|
- Run the code formatter: `clang-format -i $(git ls-files "*.cpp" "*.h")`
|
||||||
|
|
||||||
3. Commit your changes to a new branch (not `master`, one change per branch) and push it:
|
3. Commit your changes to a new branch (not `master`, one change per branch) and push it:
|
||||||
- Commit messages should:
|
- Commit messages should:
|
||||||
|
|||||||
Reference in New Issue
Block a user