build: add formatting targets for c and lua files
build: add formatting targets for c and lua files
The targets will only format files that have been changed in current branch compared to the master branch. This includes unstaged, staged and committed files.
Add following make and cmake targets: formatc - format changed c files formatlua - format changed lua files format - run formatc and formatlua
Remove scripts/uncrustify.sh as this deprecates it.
Opting to only format changed file regardless of file type as it's faster.
lgtm. Is there a place in CONTRIBUTING.d that can be updated to mention this?
Opting to only format changed file regardless of file type as it's faster.
Also less intruisive/risky/surprising.
oops I didn't realize this is in draft. Seems good enough to merge?