Skip to content

Commit 0967482

Browse files
authored
style: fix line endings through .gitattributes (#1229)
1 parent 1b06332 commit 0967482

File tree

25 files changed

+162
-46
lines changed

25 files changed

+162
-46
lines changed

.gitattributes

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
# Fix line endings for Windows
2+
tempest text=auto eol=lf
3+
bin/* text=auto eol=lf
4+
packages/console/bin/tempest text=auto eol=lf
5+
packages/console/src/Installers/tempest text=auto eol=lf
6+
src/Tempest/Framework/Installers/tempest text=auto eol=lf
7+
18
# Exclude build/test files from the release
29
/bin/ export-ignore
310
.github/ export-ignore
@@ -15,5 +22,9 @@ rector.php export-ignore
1522
cliff.toml export-ignore
1623
.commitlintrc.json export-ignore
1724

18-
# Configure diff output for .php and .phar files.
25+
# Configure diff output
26+
*.view.php diff=html
1927
*.php diff=php
28+
*.css diff=css
29+
*.html diff=html
30+
*.md diff=markdown

packages/auth/.gitattributes

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,9 @@ tests/ export-ignore
66
phpunit.xml export-ignore
77
README.md export-ignore
88

9-
# Configure diff output for .php and .phar files.
9+
# Configure diff output
10+
*.view.php diff=html
1011
*.php diff=php
12+
*.css diff=css
13+
*.html diff=html
14+
*.md diff=markdown

packages/cache/.gitattributes

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,9 @@ tests/ export-ignore
66
phpunit.xml export-ignore
77
README.md export-ignore
88

9-
# Configure diff output for .php and .phar files.
10-
*.php diff=php
9+
# Configure diff output
10+
*.view.php diff=html
11+
*.php diff=php
12+
*.css diff=css
13+
*.html diff=html
14+
*.md diff=markdown

packages/clock/.gitattributes

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,9 @@ tests/ export-ignore
66
phpunit.xml export-ignore
77
README.md export-ignore
88

9-
# Configure diff output for .php and .phar files.
10-
*.php diff=php
9+
# Configure diff output
10+
*.view.php diff=html
11+
*.php diff=php
12+
*.css diff=css
13+
*.html diff=html
14+
*.md diff=markdown

packages/command-bus/.gitattributes

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,9 @@ tests/ export-ignore
66
phpunit.xml export-ignore
77
README.md export-ignore
88

9-
# Configure diff output for .php and .phar files.
10-
*.php diff=php
9+
# Configure diff output
10+
*.view.php diff=html
11+
*.php diff=php
12+
*.css diff=css
13+
*.html diff=html
14+
*.md diff=markdown

packages/console/.gitattributes

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,18 @@
1+
# Fix line endings for Windows
2+
bin/tempest text=auto eol=lf
3+
src/Installers/tempest text=auto eol=lf
4+
15
# Exclude build/test files from the release
26
.github/ export-ignore
7+
tests/ export-ignore
38
.gitattributes export-ignore
49
.gitignore export-ignore
10+
phpunit.xml export-ignore
511
README.md export-ignore
12+
13+
# Configure diff output
14+
*.view.php diff=html
15+
*.php diff=php
16+
*.css diff=css
17+
*.html diff=html
18+
*.md diff=markdown

packages/container/.gitattributes

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,9 @@ tests/ export-ignore
66
phpunit.xml export-ignore
77
README.md export-ignore
88

9-
# Configure diff output for .php and .phar files.
10-
*.php diff=php
9+
# Configure diff output
10+
*.view.php diff=html
11+
*.php diff=php
12+
*.css diff=css
13+
*.html diff=html
14+
*.md diff=markdown

packages/core/.gitattributes

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,9 @@ tests/ export-ignore
66
phpunit.xml export-ignore
77
README.md export-ignore
88

9-
# Configure diff output for .php and .phar files.
10-
*.php diff=php
9+
# Configure diff output
10+
*.view.php diff=html
11+
*.php diff=php
12+
*.css diff=css
13+
*.html diff=html
14+
*.md diff=markdown

packages/database/.gitattributes

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,9 @@ tests/ export-ignore
66
phpunit.xml export-ignore
77
README.md export-ignore
88

9-
# Configure diff output for .php and .phar files.
10-
*.php diff=php
9+
# Configure diff output
10+
*.view.php diff=html
11+
*.php diff=php
12+
*.css diff=css
13+
*.html diff=html
14+
*.md diff=markdown

packages/datetime/.gitattributes

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,9 @@ tests/ export-ignore
66
phpunit.xml export-ignore
77
README.md export-ignore
88

9-
# Configure diff output for .php and .phar files.
10-
*.php diff=php
9+
# Configure diff output
10+
*.view.php diff=html
11+
*.php diff=php
12+
*.css diff=css
13+
*.html diff=html
14+
*.md diff=markdown

0 commit comments

Comments
 (0)