mirror of
https://github.com/FriendsOfTYPO3/tea.git
synced 2024-11-25 04:56:13 +01:00
[TASK] Use only busybox compatible find
options (#1290)
`find` has different options in different operating system implementations (gnu, macosx, busybox, ...). This change modies the used find command and replace `-regextype` and `-regex` for multiple file extension for `ci:yaml:lint` composer script. Note: That unblocks the ability to revert to the TYPO3 core-testing-* images and avoid 3rd party extended images installing `gnu find`. Resolves: #1209
This commit is contained in:
parent
3e90416a2b
commit
b212209af5
1 changed files with 1 additions and 1 deletions
|
@ -162,7 +162,7 @@
|
||||||
"ci:tests:unit": ".Build/bin/phpunit -c ./Configuration/UnitTests.xml Tests/Unit",
|
"ci:tests:unit": ".Build/bin/phpunit -c ./Configuration/UnitTests.xml Tests/Unit",
|
||||||
"ci:ts:lint": "typoscript-lint -c Configuration/TsLint.yml --ansi -n --fail-on-warnings -vvv Configuration/TypoScript",
|
"ci:ts:lint": "typoscript-lint -c Configuration/TsLint.yml --ansi -n --fail-on-warnings -vvv Configuration/TypoScript",
|
||||||
"ci:xliff:lint": "php Build/bin/console lint:xliff Resources/Private/Language",
|
"ci:xliff:lint": "php Build/bin/console lint:xliff Resources/Private/Language",
|
||||||
"ci:yaml:lint": "find . ! -path '*.Build/*' ! -path '*node_modules/*' -regextype egrep -regex '.*.ya?ml$' | xargs -r php ./.Build/bin/yaml-lint",
|
"ci:yaml:lint": "find . ! -path '*.Build/*' ! -path '*node_modules/*' \\( -name '*.yaml' -o -name '*.yml' \\) | xargs -r php ./.Build/bin/yaml-lint",
|
||||||
"coverage:create-directories": "mkdir -p .Build/logs .Build/coverage",
|
"coverage:create-directories": "mkdir -p .Build/logs .Build/coverage",
|
||||||
"docs:generate": "docker run --rm --pull always -v $(pwd):/project -it ghcr.io/typo3-documentation/render-guides:latest --config=Documentation",
|
"docs:generate": "docker run --rm --pull always -v $(pwd):/project -it ghcr.io/typo3-documentation/render-guides:latest --config=Documentation",
|
||||||
"fix:composer:normalize": "@composer normalize --no-check-lock",
|
"fix:composer:normalize": "@composer normalize --no-check-lock",
|
||||||
|
|
Loading…
Reference in a new issue