Skip to content

Commit 0159e77

Browse files
authored
Merge pull request #101 from cedric-anne/composer-archive
Ensure composer dist archive contains only usefull files
2 parents 1d62852 + d6e5e2e commit 0159e77

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

composer.json

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,5 +44,20 @@
4444
"test": [
4545
"XDEBUG_MODE=coverage phpunit"
4646
]
47+
},
48+
"archive": {
49+
"exclude": [
50+
"/.github/",
51+
"/demo/",
52+
"/docs/",
53+
"/tests/",
54+
"/testsDependency/",
55+
"/.gitignore",
56+
"/logo.png",
57+
"/multifactorauthforeveryone.png",
58+
"/phpunit.xml",
59+
"/TwoFactorAuth.phpproj",
60+
"/TwoFactorAuth.sln"
61+
]
4762
}
4863
}

0 commit comments

Comments
 (0)