mirror of
https://github.com/espressif/openthread.git
synced 2026-08-21 01:49:52 +00:00
Add code style formatting (pretty) and checker (pretty-check) targets. (#52)
* Add 'pretty' target to reformat sources to be compliant with code style. * Add 'pretty-check' target to check if sources are compliant with code style. * Update travis-ci script to use 'pretty-check' and enforce code style. * The 'pretty' and 'pretty-check' targets rely on the 'astyle' tool.
This commit is contained in:
@@ -42,6 +42,11 @@ SUBDIRS = \
|
||||
cli \
|
||||
$(NULL)
|
||||
|
||||
all:
|
||||
# Always pretty (e.g. for 'make pretty') these subdirectories.
|
||||
|
||||
PRETTY_SUBDIRS = \
|
||||
platform \
|
||||
cli \
|
||||
$(NULL)
|
||||
|
||||
include $(abs_top_nlbuild_autotools_dir)/automake/post.am
|
||||
|
||||
Reference in New Issue
Block a user