File tree Expand file tree Collapse file tree 2 files changed +10
-10
lines changed Expand file tree Collapse file tree 2 files changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -116,20 +116,20 @@ CHECK += check-monitor
116
116
HELP_check-monitor = check env if monitor is possible
117
117
check-monitor : | check-docker check-dev
118
118
119
- # ## uncrustidy code format
119
+ # ## code format
120
120
121
- .PHONY : uncrustify
122
- TARGET += uncrustify
123
- HELP_uncrustify = formats code with uncrustify
124
- uncrustify : | check-docker
121
+ .PHONY : format
122
+ TARGET += format
123
+ HELP_format = formats code with uncrustify
124
+ format : | check-docker
125
125
@make --no-print-directory -C $(DOCKERDIR ) uncrustify \
126
126
EXEC=" git ls-files -ico $( foreach PATTERN,$( FORMAT) ,-x $( PATTERN) ) \
127
127
| xargs -I % uncrustify -c $(UNCRUSTIFY_CFG ) --replace --no-backup %"
128
128
129
- .PHONY : check-uncrustify
130
- TARGET += check-uncrustify
131
- HELP_check-uncrustify = check if formatting code with uncrustify is necessary
132
- check-uncrustify : | check-docker
129
+ .PHONY : check-format
130
+ TARGET += check-format
131
+ HELP_check-format = check if formatting code with uncrustify is necessary
132
+ check-format : | check-docker
133
133
@make --no-print-directory -C $(DOCKERDIR ) uncrustify \
134
134
EXEC=" git ls-files -ico $( foreach PATTERN,$( FORMAT) ,-x $( PATTERN) ) \
135
135
| xargs -I % sh -c \" uncrustify -c $(UNCRUSTIFY_CFG ) -f % \
Original file line number Diff line number Diff line change 12
12
- name : build uncrustify image
13
13
run : make -C docker uncrustify-image
14
14
- name : check code format
15
- run : make -C lifesensor DOCKEROPTS=--tty=false check-uncrustify
15
+ run : make -C lifesensor DOCKEROPTS=--tty=false check-format
You can’t perform that action at this time.
0 commit comments