Skip to content

Commit 679eb37

Browse files
committed
Exclude all unneeded files/directories from zips
1 parent ebf73d9 commit 679eb37

File tree

1 file changed

+17
-4
lines changed

1 file changed

+17
-4
lines changed

.gitattributes

+17-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,19 @@
1+
# Path-based git attributes
2+
# https://mirrors.edge.kernel.org/pub/software/scm/git/docs/gitattributes.html
3+
14
* text
2-
.* export-ignore
35
composer.lock text -diff
4-
phpstan.* export-ignore
5-
phpunit.* export-ignore
6-
tests export-ignore
6+
7+
# Ignore paths when git creates an archive of this package
8+
/.gitattributes export-ignore
9+
/.gitignore export-ignore
10+
/.github export-ignore
11+
/.editorconfig export-ignore
12+
/.env.testing export-ignore
13+
/.env.testing.slic export-ignore
14+
/codeception.dist.yml export-ignore
15+
/codeception.slic.yml export-ignore
16+
/phpstan.neon.dist export-ignore
17+
/tests export-ignore
18+
/bin export-ignore
19+
/docs export-ignore

0 commit comments

Comments
 (0)