Skip to content

Commit b7f51ea

Browse files
authored
feat: add Git Attributes (#191)
This adds a `.gitattributes` file to exclude tests and other unnecessary files from production releases.
1 parent 71446bf commit b7f51ea

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

.gitattributes

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
* text=auto
2+
3+
# Path-based git attributes
4+
# https://git-scm.com/docs/gitattributes
5+
6+
# Ignore all test and documentation with "export-ignore".
7+
/.editorconfig export-ignore
8+
/.gitattributes export-ignore
9+
/.github export-ignore
10+
/.gitignore export-ignore
11+
/.styleci.yml export-ignore
12+
/CODE_OF_CONDUCT.md export-ignore
13+
/phpunit.xml export-ignore
14+
/tests export-ignore

0 commit comments

Comments
 (0)