Skip to content

Commit

Permalink
Ignore vendor-bin when calling lint
Browse files Browse the repository at this point in the history
  • Loading branch information
core23 committed Jan 19, 2018
1 parent 87b587b commit deb0b22
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Expand Up @@ -5,9 +5,9 @@ all:

lint:
composer validate
find . -name '*.yml' -not -path './vendor/*' -not -path './src/Resources/public/vendor/*' | xargs yaml-lint
find . -name '*.yml' -not -path './vendor/*' -not -path './vendor-bin/*' -not -path './src/Resources/public/vendor/*' | xargs yaml-lint
find . \( -name '*.xml' -or -name '*.xlf' \) \
-not -path './vendor/*' -not -path './src/Resources/public/vendor/*' \
-not -path './vendor/*' -not -path './vendor-bin/*' -not -path './src/Resources/public/vendor/*' \
| xargs -I'{}' xmllint --encode UTF-8 --output '{}' --format '{}'
vendor/bin/php-cs-fixer fix --verbose
git diff --exit-code
Expand Down

0 comments on commit deb0b22

Please sign in to comment.