Skip to content

Commit

Permalink
[#1]: Remove src directory
Browse files Browse the repository at this point in the history
  • Loading branch information
JacobDomagala committed Apr 24, 2021
1 parent 4090117 commit adca21b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ mkdir build && cd build || exit
cmake -DCMAKE_EXPORT_COMPILE_COMMANDS=ON ..

if [ -z "$INPUT_EXCLUDE_DIR" ]; then
cppcheck src "$INPUT_CPPCHECK_ARGS" --output-file=cppcheck.txt --project=compile_commands.json
cppcheck --project=compile_commands.json $INPUT_CPPCHECK_ARGS --output-file=cppcheck.txt
run-clang-tidy >(tee "clang_tidy.txt")
else
cppcheck src "$INPUT_CPPCHECK_ARGS" --output-file=cppcheck.txt --project=compile_commands.json -i"$GITHUB_WORKSPACE/$INPUT_EXCLUDE_DIR"
cppcheck --project=compile_commands.json $INPUT_CPPCHECK_ARGS --output-file=cppcheck.txt -i"$GITHUB_WORKSPACE/$INPUT_EXCLUDE_DIR"
run-clang-tidy "^((?!$GITHUB_WORKSPACE/$INPUT_EXCLUDE_DIR).)*$" > clang_tidy.txt
fi

Expand Down

0 comments on commit adca21b

Please sign in to comment.