From e1cb3c9054cb00f35407a02dd66168fe1ba04680 Mon Sep 17 00:00:00 2001 From: Nemo Date: Sun, 2 Jul 2023 14:27:38 +0530 Subject: [PATCH] [php] Ignore things for composer --- .gitattributes | 1 + composer.json | 20 ++++++++++++++++++++ 2 files changed, 21 insertions(+) diff --git a/.gitattributes b/.gitattributes index 3702208..b05d291 100644 --- a/.gitattributes +++ b/.gitattributes @@ -4,3 +4,4 @@ pincode-regex.js linguist-generated tests/jasmine-3.5.0/* linguist-vendored # regex.txt is generated (see src/generate.js) regex.txt linguist-generated +regexes.txt linguist-generated diff --git a/composer.json b/composer.json index 0c9b9ec..341a03f 100644 --- a/composer.json +++ b/composer.json @@ -14,6 +14,26 @@ "PIN\\": "src/" } }, + "archive": { + "exclude": [ + "/tests", + "/regex.txt", + "/.editorconfig", + "/phpunit.xml", + + "/.npmignore", + "/package.json", + "/pincode-regex.js", + "/src/generate.js", + "/src/index.js", + "/pyproject.toml", + "/src/pincode/__init__.py", + + "/pincode-validator.gemspec", + "/bin", + "/src/pincode_validator.rb", + ] + }, "require": {}, "require-dev": { "phpunit/phpunit": "^9.0 || ^8.0 || ^10.0"