Rebased, fixed regex for target name at end of line.
This commit is contained in:
parent
4c11c6666b
commit
3a149dd450
2
Makefile
2
Makefile
|
@ -476,7 +476,7 @@ test junittest:
|
||||||
|
|
||||||
check-target-independence:
|
check-target-independence:
|
||||||
$(V1) for test_target in $(VALID_TARGETS); do \
|
$(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 \
|
if [ "$${FOUND}" != "" ]; then \
|
||||||
echo "Target dependencies found:"; \
|
echo "Target dependencies found:"; \
|
||||||
echo "$${FOUND}"; \
|
echo "$${FOUND}"; \
|
||||||
|
|
Loading…
Reference in New Issue