forked from sonata-project/SonataMediaBundle
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
22 lines (17 loc) · 643 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# DO NOT EDIT THIS FILE!
#
# It's auto-generated by sonata-project/dev-kit package.
.PHONY: test docs
all:
@echo "Please choose a task."
lint:
composer validate
find . -name '*.yml' -not -path './vendor/*' -not -path './Resources/public/vendor/*' | xargs yaml-lint
find . \( -name '*.xml' -or -name '*.xliff' \) \
-not -path './vendor/*' -not -path './Resources/public/vendor/*' -type f \
-exec xmllint --encode UTF-8 --output '{}' --format '{}' \;
git diff --exit-code
test:
phpunit -c phpunit.xml.dist --coverage-clover build/logs/clover.xml
docs:
cd Resources/doc && sphinx-build -W -b html -d _build/doctrees . _build/html