Skip to content

Commit 50b7568

Browse files
authored
Ignore uneeded files for distribution
A good idea is to exclude unneeded dev files from the final production zip archive file, which is also downloaded by composer (unless --prefer -source is specified). Those files are actually only useful when working on the library itself. If you are not familiar, further information about `export-ignore` can be found below for instance: * http://www.pixelite.co.nz/article/using-git-attributes-exclude-files-your-release/ * https://madewithlove.be/gitattributes/ I hope it helps! 😊
1 parent 06dce8d commit 50b7568

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.gitattributes

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
/examples export-ignore
2+
.gitattributes export-ignore
3+
.gitignore export-ignore
4+
phpcs.xml export-ignore

0 commit comments

Comments
 (0)