Skip to content

Commit 5d59a82

Browse files
Add .gitattributes file to exclude files from generated package.
1 parent c88bf84 commit 5d59a82

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

.gitattributes

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# Exclude build/test files from archive.
2+
/tests export-ignore
3+
/.editorconfig export-ignore
4+
/.gitattributes export-ignore
5+
/.gitignore export-ignore
6+
/.travis.yml export-ignore
7+
/phpunit.xml.dist export-ignore
8+
9+
# Configure diff output for .php files.
10+
*.php diff=php

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
vendor
2+
composer.lock

0 commit comments

Comments
 (0)