Skip to content

Commit 086a375

Browse files
Exclude useless files from dist archive #103
Co-authored-by: Cédric Anne <cedric.anne@gmail.com>
1 parent ab93dd4 commit 086a375

File tree

2 files changed

+14
-15
lines changed

2 files changed

+14
-15
lines changed

.gitattributes

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
/.github/ export-ignore
2+
/demo/ export-ignore
3+
/docs/ export-ignore
4+
/tests/ export-ignore
5+
/testsDependency/ export-ignore
6+
/.gitattributes export-ignore
7+
/.gitignore export-ignore
8+
/.php-cs-fixer.dist.php export-ignore
9+
/logo.png export-ignore
10+
/multifactorauthforeveryone.png export-ignore
11+
/phpstan.neon export-ignore
12+
/phpunit.xml export-ignore
13+
/TwoFactorAuth.phpproj export-ignore
14+
/TwoFactorAuth.sln export-ignore

composer.json

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -61,20 +61,5 @@
6161
"test": [
6262
"XDEBUG_MODE=coverage phpunit"
6363
]
64-
},
65-
"archive": {
66-
"exclude": [
67-
"/.github/",
68-
"/demo/",
69-
"/docs/",
70-
"/tests/",
71-
"/testsDependency/",
72-
"/.gitignore",
73-
"/logo.png",
74-
"/multifactorauthforeveryone.png",
75-
"/phpunit.xml",
76-
"/TwoFactorAuth.phpproj",
77-
"/TwoFactorAuth.sln"
78-
]
7964
}
8065
}

0 commit comments

Comments
 (0)