Blame | Last modification | View Log | Download
all:@echo "Please choose a task.".PHONY: alllint: lint-composer lint-yaml lint-xml.PHONY: lintlint-composer:composer-normalize --dry-runcomposer validate.PHONY: lint-composerlint-xml:find './tests/.' \( -name '*.xml' \) \| while read xmlFile; \do \XMLLINT_INDENT=' ' xmllint --encode UTF-8 --format "$$xmlFile"|diff - "$$xmlFile"; \if [ $$? -ne 0 ]; then echo "$$xmlFile" && exit 1; fi; \done.PHONY: lint-xmllint-doctrine-xml-schema:find './tests/Gedmo/Mapping/Driver/Xml/.' \( -name '*.xml' \) \| while read xmlFile; \do \xmllint --encode UTF-8 --format "$$xmlFile" --schema "./doctrine-mapping.xsd"; \if [ $$? -ne 0 ]; then echo "$$xmlFile" && exit 1; fi; \done.PHONY: lint-doctrine-xml-schemacs-fix-doctrine-xml:find './tests/Gedmo/Mapping/Driver/Xml/.' \( -name '*.xml' \) \| while read xmlFile; \do \XMLLINT_INDENT=' ' xmllint --encode UTF-8 --format "$$xmlFile" --output "$$xmlFile"; \done.PHONY: cs-fix-doctrine-xmllint-yaml:yamllint ..PHONY: lint-yaml