mirror of
https://github.com/labwc/labwc.git
synced 2026-02-06 04:06:33 -05:00
checkpatch: add scripts/check for batch processing
Co-Authored-By: @Consolatis
This commit is contained in:
parent
a361bae699
commit
4305f54e37
3 changed files with 61 additions and 2 deletions
10
scripts/README.md
Normal file
10
scripts/README.md
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
These scripts are intended to be run from the project top-level directory
|
||||
like this: `scripts/foo.sh`
|
||||
|
||||
- `scripts/check`: wrapper to check all files in `src/` and `include/`
|
||||
|
||||
- `scripts/checkpatch.pl`: Quick hack on the Linux kernel [checkpatch.pl]
|
||||
to lint C files written according to the labwc coding style. Run like
|
||||
this: `./checkpatch.pl --no-tree --terse --strict --file <file>`
|
||||
|
||||
[checkpatch.pl]: https://raw.githubusercontent.com/torvalds/linux/4ce9f970457899defdf68e26e0502c7245002eb3/scripts/checkpatch.pl
|
||||
Loading…
Add table
Add a link
Reference in a new issue