Skip to content

Commit

Permalink
update: exclude extra files when run composer with prefer-dist
Browse files Browse the repository at this point in the history
  • Loading branch information
hidehalo committed Dec 10, 2020
1 parent bae634d commit 0f4fc24
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
benchmark/ export-ignore
examples/ export-ignore
tests/ export-ignore
3 changes: 3 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@
"phpunit/phpunit" : ">=5.6",
"squizlabs/php_codesniffer": "^2.3"
},
"archive": {
"exclude": ["tests/", "benchmark/", "examples"]
},
"autoload": {
"psr-4": {
"Hidehalo\\Nanoid\\": "src"
Expand Down

0 comments on commit 0f4fc24

Please sign in to comment.