From ead40fb39649467e9f8af460006c282d36690921 Mon Sep 17 00:00:00 2001 From: Timo Tijhof Date: Sun, 21 Apr 2024 18:08:50 +0100 Subject: [PATCH] Exclude build+test files from ZIP package Up until wp-memcached 3.0.2 there weren't any such files in the Git repository, but now that there are, we should exclude them from the package to avoid clutter in downstream embedded copies to ease auditing and reduce overall noise and size. See also: * https://github.com/Automattic/Co-Authors-Plus/blob/HEAD/.gitattributes * https://github.com/Automattic/jetpack-autoloader/blob/HEAD/.gitattributes --- .gitattributes | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..2019481 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,7 @@ +# Files not needed to be distributed in ZIP packages. +/.github/ export-ignore +/bin/ export-ignore +/tests/ export-ignore +/.* export-ignore +/composer.json export-ignore +/phpunit.xml export-ignore