From ac70159deb7285e7c2affca99b274708acccd84c Mon Sep 17 00:00:00 2001 From: Anton Ukhanev Date: Wed, 19 May 2021 10:30:08 +0200 Subject: [PATCH] Exclude example plugin from dist Github uses `git archive` to produce the automatic dist archive. This archive is what is downloaded when Composer retrieves the dependency by default or with `prefer-dist`. By adding this line, the plugin archive is excluded from dist because it is an example that is never needed in dist environments (like production), reducing download size and time. --- .gitattributes | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitattributes b/.gitattributes index 50739b5e..7751a451 100644 --- a/.gitattributes +++ b/.gitattributes @@ -15,6 +15,7 @@ /CONTRIBUTING.md export-ignore /phpcs.xml export-ignore /phpcs.xml.dist export-ignore +/plugins/tgm-example-plugin.zip export-ignore # # Auto detect text files and perform LF normalization