From b7f51ea14f0f166e3c16a816a26c050b4f01e3f2 Mon Sep 17 00:00:00 2001 From: Owen Voke Date: Thu, 30 Nov 2023 22:01:37 +0000 Subject: [PATCH] feat: add Git Attributes (#191) This adds a `.gitattributes` file to exclude tests and other unnecessary files from production releases. --- .gitattributes | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..5a88c6b --- /dev/null +++ b/.gitattributes @@ -0,0 +1,14 @@ +* text=auto + +# Path-based git attributes +# https://git-scm.com/docs/gitattributes + +# Ignore all test and documentation with "export-ignore". +/.editorconfig export-ignore +/.gitattributes export-ignore +/.github export-ignore +/.gitignore export-ignore +/.styleci.yml export-ignore +/CODE_OF_CONDUCT.md export-ignore +/phpunit.xml export-ignore +/tests export-ignore