Skip to content

Commit 2ec9085

Browse files
committed
build: improve Composer archive package
1 parent a8a3815 commit 2ec9085

File tree

3 files changed

+30
-44
lines changed

3 files changed

+30
-44
lines changed

.gitattributes

Lines changed: 30 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,38 @@
11
# https://git-scm.com/book/en/v2/Customizing-Git-Git-Attributes
22
# https://medium.com/@pablorsk/be-a-git-ninja-the-gitattributes-file-e58c07c9e915
3+
# from https://github.com/git/git/blob/master/.gitattributes
4+
# from https://github.com/python/cpython/blob/master/.gitattributes
35

4-
# A list of files and folders those will be excluded from archives and the
5-
# Composer package (for purposes of making it smaller).
6-
/build export-ignore
7-
/docs export-ignore
8-
/tests export-ignore
6+
* text=auto
7+
8+
### Git
9+
.gitattributes text
10+
.gitignore text
11+
.gitconfig text
12+
.gitmodules text
13+
14+
### Project
15+
*.phar binary
16+
*.lock -diff
17+
*.php text eol=lf diff=php
18+
*.py text eol=lf diff=python
19+
*.md text eol=lf diff=markdown
20+
21+
### A list of files and folders those will be excluded from archives and the
22+
### Composer package (for purposes of making it smaller).
923
.editorconfig export-ignore
1024
.gitattributes export-ignore
1125
.gitignore export-ignore
12-
.php_cs export-ignore
13-
.composer.phar export-ignore
26+
/.cache/ export-ignore
27+
/.github/ export-ignore
28+
/build/ export-ignore
29+
/docs/ export-ignore
30+
/linters/ export-ignore
31+
/scripts/ export-ignore
32+
/storage/ export-ignore
33+
/tests/ export-ignore
34+
/vendor/ export-ignore
35+
composer.phar export-ignore
1436
*.xml export-ignore
15-
*.neon export-ignore
1637
*.md export-ignore
17-
18-
composer.lock -diff
19-
20-
*.php text eol=lf
38+
*.neon export-ignore

.styleci.yml

Lines changed: 0 additions & 1 deletion
This file was deleted.

.travis.yml

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

0 commit comments

Comments
 (0)