-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
It would be pretty convenient to be able to automatically format all code present in the project.
- New variable in the default.inc, ASTYLE_SPEC. This points to a text file containing all command-line arguments to be passed to astyle.
- New phony target, "astyle". This is present only if ASTYLE_SPEC is non-empty. This calls astyle on all source files within the project.
- New variable in a library's Makefile.inc, LIBRARY_ASTYLE_SPEC. If set, "make astyle" will also format code within the library. If unset, library code will not be reformatted. Can be set to $(ASTYLE_SPEC) to use the project's specification.
Metadata
Metadata
Assignees
Labels
No labels