- Added
--strict-root
option.
- Renamed project to
run-clang-format
- Added command-line parameter
--check
, supported forclang-format
version 10 or higher. This runsclang-format --dry-run -WError
on all resolved paths to check whether the formatting matches the specified file.
- The tool is now subject to some very basic integration tests, but executed on Windows, macos and Linux (Ubuntu).
- If executed on Windows it is now possible to omit the
.exe
extension for the CLI parameter--command
and the<JSON>
fieldcommand
respectively. This allows to use configuration files on all operating systems. - The fields
styleFile
andcommand
in the configuration file are now only evaluated if no override is provided by the command line parameter--style
or--command
.
- Support for relative paths for the field 'command'.
- Breaking change in the
JSON
schema: The fieldblacklist
has been renamed tofilterPost
. - Added the
filterPre
field in the configuration file, allowing to specify custom path filters applied while expanding the globs. - First proper content for the readme.
- Fixes a bug in
0.3.1
hiding the error messages produced byclang-format
.
- Adds the
--jobs
parameter for parallel execution.
- These tags have been created for testing the tool on various platforms.