Files
yii2/.gitattributes
Carsten Brandt a0c5fee931 Revert ignoring tests and docs on archive export
This did break the use case of installing the `yiisoft/yii2-dev` package for testing. `yiisoft/yii2` is a subsplit with minimal number of files of the framework already, the dev package should contain all tests and docs.

See for example: tom--/yii2-dynamic-ar#18

Partially reverts 392ea93d79
2017-01-27 09:55:41 +01:00

39 lines
959 B
Plaintext

# Autodetect text files
* text=auto
# ...Unless the name matches the following overriding patterns
# Definitively text files
*.php text
*.css text
*.js text
*.txt text
*.md text
*.xml text
*.json text
*.bat text
*.sql text
*.xml text
*.yml text
# Ensure those won't be messed up with
*.png binary
*.jpg binary
*.gif binary
*.ttf binary
# Ignore some meta files when creating an archive of this repository
# We do not ignore any content, because this repo represents the
# `yiisoft/yii2-dev` package, which is expected to ship all tests and docs.
/.github export-ignore
/.editorconfig export-ignore
/.gitattributes export-ignore
/.gitignore export-ignore
/.scrutinizer.yml export-ignore
/.travis.yml export-ignore
# Avoid merge conflicts in CHANGELOG
# https://about.gitlab.com/2015/02/10/gitlab-reduced-merge-conflicts-by-90-percent-with-changelog-placeholders/
/framework/CHANGELOG.md merge=union