mirror of
https://github.com/FriendsOfTYPO3/tea.git
synced 2024-11-22 13:16:19 +01:00
[BUGFIX] Avoid JSON-linting the Composer cache directory (#1074)
Also use stricter exclusion paths to avoid skipping JSON files that we actually want to lint. This change speeds up JSON lint a lot in cases where Composer from within `runTests.sh` has been used (which creates the `.cache/` directory). Fixes #1046
This commit is contained in:
parent
503177b41a
commit
f26677a0ae
1 changed files with 1 additions and 1 deletions
|
@ -128,7 +128,7 @@
|
||||||
"@coverage:create-directories",
|
"@coverage:create-directories",
|
||||||
".Build/bin/phpunit -c ./Tests/Unit/UnitTests.xml --whitelist Classes --coverage-php=.Build/coverage/unit.cov Tests/Unit"
|
".Build/bin/phpunit -c ./Tests/Unit/UnitTests.xml --whitelist Classes --coverage-php=.Build/coverage/unit.cov Tests/Unit"
|
||||||
],
|
],
|
||||||
"ci:json:lint": "find . ! -path '*.Build/*' ! -path '*node_modules/*' -name '*.json' | xargs -r php .Build/bin/jsonlint -q",
|
"ci:json:lint": "find . ! -path '*/.cache/*' ! -path '*/.Build/*' ! -path '*/node_modules/*' -name '*.json' | xargs -r php .Build/bin/jsonlint -q",
|
||||||
"ci:php": [
|
"ci:php": [
|
||||||
"@ci:php:cs-fixer",
|
"@ci:php:cs-fixer",
|
||||||
"@ci:php:lint",
|
"@ci:php:lint",
|
||||||
|
|
Loading…
Reference in a new issue