Commit 1c7f8295142aa14fb63581ca4b4629065bb2c013
Committed by
Henry Schreiner
1 parent
92a3cacd
Check tidy and style separated
Showing
4 changed files
with
13 additions
and
7 deletions
.ci/check_tidy.sh
0 → 100755
.travis.yml
CHANGELOG.md
| 1 | ## Version 1.3 (in progress) | 1 | ## Version 1.3 (in progress) |
| 2 | 2 | ||
| 3 | * Reworked the way defaults are set and inherited; explicit control given to user with `->option_defaults()` [#48](https://github.com/CLIUtils/CLI11/pull/48) | 3 | * Reworked the way defaults are set and inherited; explicit control given to user with `->option_defaults()` [#48](https://github.com/CLIUtils/CLI11/pull/48) |
| 4 | +* Hidden options now are based on an empty group name, instead of special "hidden" keyword [#48](https://github.com/CLIUtils/CLI11/pull/48) | ||
| 4 | * `parse` no longer returns (so `CLI11_PARSE` is always usable) [#37](https://github.com/CLIUtils/CLI11/pull/37) | 5 | * `parse` no longer returns (so `CLI11_PARSE` is always usable) [#37](https://github.com/CLIUtils/CLI11/pull/37) |
| 5 | * Added `remaining()` and `remaining_size()` [#37](https://github.com/CLIUtils/CLI11/pull/37) | 6 | * Added `remaining()` and `remaining_size()` [#37](https://github.com/CLIUtils/CLI11/pull/37) |
| 6 | * `allow_extras` and `prefix_command` are now valid on subcommands [#37](https://github.com/CLIUtils/CLI11/pull/37) | 7 | * `allow_extras` and `prefix_command` are now valid on subcommands [#37](https://github.com/CLIUtils/CLI11/pull/37) |
scripts/check_style.sh
| @@ -7,11 +7,4 @@ git ls-files -- '*.cpp' '*.hpp' | xargs clang-format -i -style=file | @@ -7,11 +7,4 @@ git ls-files -- '*.cpp' '*.hpp' | xargs clang-format -i -style=file | ||
| 7 | 7 | ||
| 8 | git diff --exit-code --color | 8 | git diff --exit-code --color |
| 9 | 9 | ||
| 10 | -mkdir build-tidy || true | ||
| 11 | -cd build-tidy | ||
| 12 | -CXX_FLAGS="-Werror -Wall -Wextra -pedantic -std=c++11" cmake .. -DCLANG_TIDY_FIX=ON | ||
| 13 | -cmake --build . | ||
| 14 | - | ||
| 15 | -git diff --exit-code --color | ||
| 16 | - | ||
| 17 | set +evx | 10 | set +evx |