Skip to content

Commit ce2d7c2

Browse files
committed
Validate rector.yml file exists
1 parent 6b13f3b commit ce2d7c2

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

scripts/makefile/tests.mk

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,10 +95,14 @@ drupalrectorval:
9595

9696
## Validate upgrade-status
9797
upgradestatusval:
98+
ifneq ("$(wildcard rector.yml)","")
9899
@echo "Drupal-check validation..."
99100
$(call php, composer install -o)
100101
$(call php, drush en -y upgrade_status)
101102
$(call php, drush us-a --all --ignore-contrib --ignore-uninstalled)
103+
else
104+
@echo "rector.yml file does not exist"
105+
endif
102106

103107
## Validate newline at the end of files
104108
newlineeof:

0 commit comments

Comments
 (0)