Skip to content
This repository has been archived by the owner on Jun 24, 2019. It is now read-only.

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 3765f40 commit 72099c0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
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 72099c0

Please sign in to comment.