Skip to content

Commit

Permalink
💚 Change norm task in Taskfile
Browse files Browse the repository at this point in the history
  • Loading branch information
Unam3dd committed Jun 24, 2024
1 parent 8260fa6 commit 9d196d1
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 src/**/*.c | grep "warning"); [[ ! -z "$CLANG_TIDY" ]] && echo $CLANG_TIDY && exit 1 || exit 0;
- clang-tidy --warnings-as-errors -Iinc -p ./build src/**/*.c
silent: true
desc: "Pass the norm on the project"

Expand Down

0 comments on commit 9d196d1

Please sign in to comment.