Skip to content

Commit

Permalink
Exclude test and build files from release archives
Browse files Browse the repository at this point in the history
(patched)
  • Loading branch information
dakujem committed Apr 24, 2024
1 parent 18bbe60 commit d6457ce
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
#
# Documentation:
# https://git-scm.com/docs/gitattributes
#

# Exclude build/test files from archive
/.github export-ignore
/examples export-ignore
/tests export-ignore
/.editorconfig export-ignore
/.gitattributes export-ignore
/.gitignore export-ignore

# Configure diff output for .php and .phar files.
*.php diff=php
*.phar -diff

#
# This file contains rules suggested by the following article:
# https://php.watch/articles/composer-gitattributes
#

0 comments on commit d6457ce

Please sign in to comment.