mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-03 15:58:53 +08:00
cmake add nuttx shellcheck helper
This commit is contained in:
committed by
Lorenz Meier
parent
096c41b041
commit
52e1b59e60
@@ -325,7 +325,7 @@ python_coverage:
|
||||
|
||||
# static analyzers (scan-build, clang-tidy, cppcheck)
|
||||
# --------------------------------------------------------------------
|
||||
.PHONY: scan-build posix_sitl_default-clang clang-tidy clang-tidy-fix clang-tidy-quiet cppcheck
|
||||
.PHONY: scan-build posix_sitl_default-clang clang-tidy clang-tidy-fix clang-tidy-quiet cppcheck shellcheck
|
||||
|
||||
scan-build:
|
||||
@export CCC_CC=clang
|
||||
@@ -362,6 +362,7 @@ cppcheck: posix_sitl_default
|
||||
|
||||
shellcheck:
|
||||
@$(SRC_DIR)/Tools/run-shellcheck.sh $(SRC_DIR)/ROMFS/px4fmu_common/
|
||||
@make px4fmu-v2_default shellcheck
|
||||
|
||||
# Cleanup
|
||||
# --------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user