From 086a3758ec947da9a8680fe72cd5aba0b762bfa3 Mon Sep 17 00:00:00 2001 From: Your Name Date: Mon, 15 Apr 2024 21:23:58 +0100 Subject: [PATCH] Exclude useless files from dist archive #103 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Cédric Anne --- .gitattributes | 14 ++++++++++++++ composer.json | 15 --------------- 2 files changed, 14 insertions(+), 15 deletions(-) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..40f5f7c --- /dev/null +++ b/.gitattributes @@ -0,0 +1,14 @@ +/.github/ export-ignore +/demo/ export-ignore +/docs/ export-ignore +/tests/ export-ignore +/testsDependency/ export-ignore +/.gitattributes export-ignore +/.gitignore export-ignore +/.php-cs-fixer.dist.php export-ignore +/logo.png export-ignore +/multifactorauthforeveryone.png export-ignore +/phpstan.neon export-ignore +/phpunit.xml export-ignore +/TwoFactorAuth.phpproj export-ignore +/TwoFactorAuth.sln export-ignore diff --git a/composer.json b/composer.json index a3264a0..25c8135 100644 --- a/composer.json +++ b/composer.json @@ -61,20 +61,5 @@ "test": [ "XDEBUG_MODE=coverage phpunit" ] - }, - "archive": { - "exclude": [ - "/.github/", - "/demo/", - "/docs/", - "/tests/", - "/testsDependency/", - "/.gitignore", - "/logo.png", - "/multifactorauthforeveryone.png", - "/phpunit.xml", - "/TwoFactorAuth.phpproj", - "/TwoFactorAuth.sln" - ] } }