Sonata CI преди 9 години
родител
ревизия
4cc844928d
променени са 1 файла, в които са добавени 3 реда и са изтрити 2 реда
  1. 3 2
      Makefile

+ 3 - 2
Makefile

@@ -9,8 +9,9 @@ all:
 
 lint:
 	composer validate
-	find . -name '*.yml' -not -path './vendor/*' | xargs yaml-lint
-	find . \( -name '*.xml' -or -name '*.xliff' \) -not -path './vendor/*' -type f \
+	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