Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset b1efe3e in mainline


Ignore:
Timestamp:
2017-10-18T15:10:58Z (4 years ago)
Author:
jzr <zarevucky.jiri@…>
Branches:
lfn, master
Children:
c212a03, ccbf93f
Parents:
b446b02
Message:

Add partial support for clang-format.

Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • Makefile

    rb446b02 rb1efe3e  
    3131
    3232CSCOPE = cscope
     33FORMAT = clang-format
    3334CHECK = tools/check.sh
    3435CONFIG = tools/config.py
     
    6465        find boot -type f -regex '^.*\.[chsS]$$' | xargs $(CSCOPE) -b -k -u -f$(CSCOPE)_boot.out
    6566        find uspace -type f -regex '^.*\.[chsS]$$' | xargs $(CSCOPE) -b -k -u -f$(CSCOPE)_uspace.out
     67
     68format:
     69        find abi kernel boot uspace -type f -regex '^.*\.[ch]$$' | xargs $(FORMAT) -i -sort-includes -style=file
    6670
    6771# Pre-integration build check
Note: See TracChangeset for help on using the changeset viewer.