Skip to content

Commit

Permalink
update: exclude .md|.yml|.xml etc for composer dist
Browse files Browse the repository at this point in the history
  • Loading branch information
hidehalo committed Dec 10, 2020
1 parent 0f4fc24 commit f612deb
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
benchmark/ export-ignore
examples/ export-ignore
tests/ export-ignore
.gitignore export-ignore
.editorconfig export-ignore
*.md export-ignore
*.yml export-ignore
*.xml export-ignore
11 changes: 10 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,16 @@
"squizlabs/php_codesniffer": "^2.3"
},
"archive": {
"exclude": ["tests/", "benchmark/", "examples"]
"exclude": [
"tests/",
"benchmark/",
"examples/",
".gitignore",
".editorconfig",
"*.md",
"*.yml",
"*.xml"
]
},
"autoload": {
"psr-4": {
Expand Down

0 comments on commit f612deb

Please sign in to comment.