mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-15 20:35:33 +03:00
Rebased, fixed regex for target name at end of line.
This commit is contained in:
parent
4c11c6666b
commit
3a149dd450
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
@ -476,7 +476,7 @@ test junittest:
|
|||
|
||||
check-target-independence:
|
||||
$(V1) for test_target in $(VALID_TARGETS); do \
|
||||
FOUND=$$(grep -rP "\W$${test_target}\W" src/main/ | grep -vP "(\/\/)|(\/\*).*\W$${test_target}\W" | grep -vP "^src/main/target"); \
|
||||
FOUND=$$(grep -rP "\W$${test_target}\W?" src/main/ | grep -vP "(\/\/)|(\/\*).*\W$${test_target}\W?" | grep -vP "^src/main/target"); \
|
||||
if [ "$${FOUND}" != "" ]; then \
|
||||
echo "Target dependencies found:"; \
|
||||
echo "$${FOUND}"; \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue