Skip to content

Commit

Permalink
Exclude useless files from dist archive #103
Browse files Browse the repository at this point in the history
Co-authored-by: Cédric Anne <[email protected]>
  • Loading branch information
willpower232 and cedric-anne committed Apr 15, 2024
1 parent ab93dd4 commit 086a375
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 15 deletions.
14 changes: 14 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -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
15 changes: 0 additions & 15 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
]
}
}

0 comments on commit 086a375

Please sign in to comment.