This makes it easy to reformat files after you finish editing them.
Details
Details
- Reviewers
indygreg - Group Reviewers
hg-reviewers - Commits
- rHG2bf152128d59: makefile: add target to apply clang-format in-place
Diff Detail
Diff Detail
- Repository
- rHG Mercurial
- Lint
Lint Skipped - Unit
Unit Tests Skipped
Event Timeline
Comment Actions
I'm a bit late to the party, but wanted to remind people that targets that are not actual files (in this case, a file named "format-c") should also go into .PHONY list. Nothing bad will happen right now (unless such file appears at some point), but adding it to "phony" targets helps keeping makefile in proper shape. (Looking at the already unwieldy .PHONY list I wish Make had another way to mark targets "phony").