Skip to content

Commit b4f6be3

Browse files
authored
chore: codacity (CLIUtils#621)
* docs: fix some Codacity recommendations * chore: update copyright year * style: more codacity fixes * style: fix issues reported by Codacity
1 parent 9e247b1 commit b4f6be3

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

79 files changed

+410
-384
lines changed

.ci/make_and_test.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
#!/usr/bin/env bash
22
echo -en "travis_fold:start:script.build\\r"
33
echo "Building..."
4-
STD=$1
4+
STD="$1"
55
shift
66
set -evx
77

88

99
mkdir -p build
1010
cd build
11-
cmake .. -DCLI11_WARNINGS_AS_ERRORS=ON -DCLI11_SINGLE_FILE=ON -DCMAKE_CXX_STANDARD=$STD -DCLI11_SINGLE_FILE_TESTS=ON -DCMAKE_BUILD_TYPE=Debug -DCMAKE_CXX_COMPILER_LAUNCHER=ccache $@
11+
cmake .. -DCLI11_WARNINGS_AS_ERRORS=ON -DCLI11_SINGLE_FILE=ON -DCMAKE_CXX_STANDARD="$STD" -DCLI11_SINGLE_FILE_TESTS=ON -DCMAKE_BUILD_TYPE=Debug -DCMAKE_CXX_COMPILER_LAUNCHER=ccache $@
1212
cmake --build . -- -j2
1313

1414
set +evx

.ci/run_codecov.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ echo -en "travis_fold:start:script.build\\r"
44
echo "Building..."
55
set -evx
66

7-
cd ${TRAVIS_BUILD_DIR}
7+
cd "${TRAVIS_BUILD_DIR}"
88
mkdir -p build
99
cd build
1010
cmake .. -DCLI11_SINGLE_FILE_TESTS=OFF -DCLI11_EXAMPLES=OFF -DCMAKE_BUILD_TYPE=Coverage

CHANGELOG.md

Lines changed: 96 additions & 96 deletions

CLI11.hpp.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
// This is a standalone header file generated by MakeSingleHeader.py in CLI11/scripts
66
// from: {git}
77
//
8-
// CLI11 {version} Copyright (c) 2017-2020 University of Cincinnati, developed by Henry
8+
// CLI11 {version} Copyright (c) 2017-2021 University of Cincinnati, developed by Henry
99
// Schreiner under NSF AWARD 1414736. All rights reserved.
1010
//
1111
// Redistribution and use in source and binary forms of CLI11, with or without

README.md

Lines changed: 206 additions & 198 deletions

book/README.md

Lines changed: 4 additions & 4 deletions

book/chapters/config.md

Lines changed: 3 additions & 3 deletions

book/chapters/flags.md

Lines changed: 1 addition & 1 deletion

book/chapters/subcommands.md

Lines changed: 0 additions & 2 deletions

examples/callback_passthrough.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (c) 2017-2020, University of Cincinnati, developed by Henry Schreiner
1+
// Copyright (c) 2017-2021, University of Cincinnati, developed by Henry Schreiner
22
// under NSF AWARD 1414736 and by the respective contributors.
33
// All rights reserved.
44
//

0 commit comments

Comments
 (0)