Let's move check-stub-map under tests folder
Root folder becomes cleaner and it's really a test for map
This commit is contained in:
parent
401ba8f3aa
commit
59c306a7f1
|
@ -17,4 +17,4 @@ install:
|
|||
script:
|
||||
- docker-compose -f docker-compose.yml pull
|
||||
- docker-compose -f docker-compose.yml run php /opt/project/phpstorm-stubs/vendor/bin/phpunit /opt/project/phpstorm-stubs/tests/
|
||||
- ./check-stub-map
|
||||
- ./tests/check-stub-map
|
||||
|
|
|
@ -10,7 +10,7 @@ php generate-stub-map
|
|||
readonly NEW_FILE_HASH=$(md5sum PhpStormStubsMap.php | awk '{ print $1 }')
|
||||
|
||||
if [[ "${CURRENT_FILE_HASH}" != "${NEW_FILE_HASH}" ]]; then
|
||||
echo "The commited stub map is not up to date. Please regenerate it using ./generate-stub-map.php";
|
||||
echo "The commited stub map is not up to date. Please regenerate it using ./generate-stub-map";
|
||||
|
||||
exit 1;
|
||||
fi
|
Loading…
Reference in New Issue