Makefile 660 B

1234567891011121314151617181920212223
  1. # DO NOT EDIT THIS FILE!
  2. #
  3. # It's auto-generated by sonata-project/dev-kit package.
  4. .PHONY: test docs
  5. all:
  6. @echo "Please choose a task."
  7. lint:
  8. composer validate
  9. find . -name '*.yml' -not -path './vendor/*' -not -path './Resources/public/vendor/*' | xargs yaml-lint
  10. find . \( -name '*.xml' -or -name '*.xliff' \) \
  11. -not -path './vendor/*' -not -path './Resources/public/vendor/*' \
  12. | xargs -I'{}' xmllint --encode UTF-8 --output '{}' --format '{}'
  13. php-cs-fixer fix --verbose
  14. git diff --exit-code
  15. test:
  16. phpunit -c phpunit.xml.dist --coverage-clover build/logs/clover.xml
  17. docs:
  18. cd docs && sphinx-build -W -b html -d _build/doctrees . _build/html