clang-tidy errors cause target failure

This commit is contained in:
Daniel Agar 2017-01-29 18:45:05 -05:00
parent 96e51f7c59
commit 73da6d30d9
1 changed files with 5 additions and 0 deletions

View File

@ -294,6 +294,11 @@ clang-check:
@$(SRC_DIR)/Tools/clang-tool.sh -b build_posix_sitl_default -t clang-check
clang-tidy:
rm -rf $(SRC_DIR)/build_posix_sitl_default
@CC=clang CXX=clang++ $(MAKE) --no-print-directory posix_sitl_default
@$(SRC_DIR)/Tools/clang-tool.sh -b build_posix_sitl_default -t clang-tidy
clang-tidy-parallel:
rm -rf $(SRC_DIR)/build_posix_sitl_default
@CC=clang CXX=clang++ $(MAKE) --no-print-directory posix_sitl_default
@run-clang-tidy.py -j$(j) -p $(SRC_DIR)/build_posix_sitl_default