Skip to content

Commit 85b405d

Browse files
committed
Update .gitattributes to current files to keep out from packages
We had not updated this file since long ago and there are some new/moved paths to get excluded from distribution when installed as a dependency.
1 parent 126516d commit 85b405d

File tree

1 file changed

+20
-19
lines changed

1 file changed

+20
-19
lines changed

.gitattributes

Lines changed: 20 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,20 @@
1-
# Path-based git attributes
2-
# https://www.kernel.org/pub/software/scm/git/docs/gitattributes.html
3-
4-
# Ignore all test and documentation with "export-ignore".
5-
/build export-ignore
6-
/doc export-ignore
7-
/tests export-ignore
8-
/.gitattributes export-ignore
9-
/.gitignore export-ignore
10-
/.php_cs export-ignore
11-
/.travis.dist.yml export-ignore
12-
/.travis.yml export-ignore
13-
/box.json export-ignore
14-
/CHANGELOG.md export-ignore
15-
/CONTRIBUTING.md export-ignore
16-
/Makefile export-ignore
17-
/phpunit.xml.dist export-ignore
18-
/README.md export-ignore
19-
/UPGRADE-*.md export-ignore
1+
# Ignore all these files for release packages.
2+
# Using Composer `--prefer-dist` will not include these files.
3+
# Use `--prefer-source` to include them.
4+
# See https://blog.madewithlove.be/post/gitattributes/
5+
.gitattributes export-ignore
6+
.gitignore export-ignore
7+
.php-cs-fixer.php export-ignore
8+
.travis.dist.yml export-ignore
9+
.travis.yml export-ignore
10+
CONTRIBUTING.md export-ignore
11+
Makefile export-ignore
12+
README.md export-ignore
13+
box.json export-ignore
14+
gha.dist.yml export-ignore
15+
phpunit.xml.dist export-ignore
16+
psalm.xml export-ignore
17+
/.github export-ignore
18+
/build export-ignore
19+
/docs export-ignore
20+
/tests export-ignore

0 commit comments

Comments
 (0)