Makefile 643 B

12345678910111213141516171819202122
  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/*' -type f \
  12. -exec xmllint --encode UTF-8 --output '{}' --format '{}' \;
  13. git diff --exit-code
  14. test:
  15. phpunit -c phpunit.xml.dist --coverage-clover build/logs/clover.xml
  16. docs:
  17. cd Resources/doc && sphinx-build -W -b html -d _build/doctrees . _build/html