Skip to content

Commit

Permalink
✏️ Add the output of warning treated as errors by clang-Tidy
Browse files Browse the repository at this point in the history
  • Loading branch information
Unam3dd committed Jun 14, 2024
1 parent bf3f20f commit c944940
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Taskfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ tasks:
- sh: 'test -d build'
msg: "Norm required compile_commands.json files please build the project before !"
cmds:
- CLANG_TIDY=$(clang-tidy -p ./build main.c | grep "warning"); [[ ! -z "$CLANG_TIDY" ]] && return 1 || return 0;
- CLANG_TIDY=$(clang-tidy -p ./build main.c | grep "warning"); [[ ! -z "$CLANG_TIDY" ]] && echo $CLANG_TIDY && return 1 || return 0;
silent: true
desc: "Pass the norm on the project"

Expand Down

0 comments on commit c944940

Please sign in to comment.