Skip to content

Commit

Permalink
Merge pull request #12 from hidehalo/issue-10
Browse files Browse the repository at this point in the history
update: exclude extra files when run composer with prefer-dist
  • Loading branch information
hidehalo authored Dec 11, 2020
2 parents be57ba2 + f612deb commit 14187ab
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +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
12 changes: 12 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,18 @@
"phpunit/phpunit" : ">=5.6",
"squizlabs/php_codesniffer": "^2.3"
},
"archive": {
"exclude": [
"tests/",
"benchmark/",
"examples/",
".gitignore",
".editorconfig",
"*.md",
"*.yml",
"*.xml"
]
},
"autoload": {
"psr-4": {
"Hidehalo\\Nanoid\\": "src"
Expand Down

0 comments on commit 14187ab

Please sign in to comment.