Skip to content

Commit

Permalink
[TASK] Exclude development-only files from dist archives
Browse files Browse the repository at this point in the history
This commit adds a `.gitattributes` file which contains rules to
exclude several development-only files and folders from being
packaged into dist archives. This way, those files will not be
existent when e.g. requiring the library with Composer's default
installation method (`"preferred-install": "dist"`).
  • Loading branch information
eliashaeussler authored and a-r-m-i-n committed Feb 19, 2024
1 parent 9137684 commit 331e8ad
Showing 1 changed file with 8 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 @@
/.build export-ignore
/.ddev export-ignore
/.github export-ignore
/tests export-ignore
/.editorconfig export-ignore
/.gitattributes export-ignore
/.gitignore export-ignore
/composer.lock export-ignore

0 comments on commit 331e8ad

Please sign in to comment.