Skip to content

Commit c529da1

Browse files
authored
Remove .dockerignore + Improve .gitattributes (#284)
1 parent b7aae9b commit c529da1

2 files changed

Lines changed: 13 additions & 25 deletions

File tree

.dockerignore

Lines changed: 0 additions & 10 deletions
This file was deleted.

.gitattributes

Lines changed: 13 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -16,27 +16,25 @@
1616
*.yml text
1717

1818
# Ensure those won't be messed up with
19+
*.phar binary
1920
*.png binary
2021
*.jpg binary
2122
*.gif binary
2223
*.ttf binary
2324

24-
# Ignore some meta files when creating an archive of this repository
25-
/.github export-ignore
26-
/.editorconfig export-ignore
27-
/.gitattributes export-ignore
28-
/.gitignore export-ignore
29-
/.dockerignore export-ignore
30-
/.phpunit-watcher.yml export-ignore
31-
/.styleci.yml export-ignore
32-
/infection.json.dist export-ignore
33-
/psalm.xml export-ignore
34-
/phpunit.xml.dist export-ignore
35-
/Makefile export-ignore
36-
/tests export-ignore
37-
/docs export-ignore
25+
# Exclude development and metadata files from distribution archive
26+
* export-ignore
27+
/config/ -export-ignore
28+
/config/** -export-ignore
29+
/src/ -export-ignore
30+
/src/** -export-ignore
31+
/stubs/ -export-ignore
32+
/stubs/** -export-ignore
33+
/CHANGELOG.md -export-ignore
34+
/composer.json -export-ignore
35+
/LICENSE.md -export-ignore
36+
/README.md -export-ignore
3837

3938
# Avoid merge conflicts in CHANGELOG
4039
# https://about.gitlab.com/2015/02/10/gitlab-reduced-merge-conflicts-by-90-percent-with-changelog-placeholders/
4140
/CHANGELOG.md merge=union
42-

0 commit comments

Comments
 (0)