Skip to content

Commit ccf7193

Browse files
authored
FIX: Inconsistent line endings in repo (#1244).
1 parent 35ec3e5 commit ccf7193

File tree

314 files changed

+11398
-11363
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

314 files changed

+11398
-11363
lines changed

.gitattributes

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# by convention everything should be LF
2+
* text eol=lf
3+
4+
# VS can handle these as LF, but really wants them as CRLF
5+
*.vcproj text eol=crlf
6+
*.vcxproj text eol=crlf
7+
*.vcxproj.filters text eol=crlf
8+
*.csproj text eol=crlf
9+
*.props text eol=crlf
10+
*.targets text eol=crlf
11+
*.sln text eol=crlf
12+
*.sln.template text eol=crlf
13+
*.bat text eol=crlf
14+
*.cmd text eol=crlf
15+
*.xaml text eol=crlf
16+
17+
*.dll binary
18+
*.exe binary
19+
*.pdb binary
20+
*.png binary
21+
*.jpg binary
22+
*.exr binary
23+
*.ttf binary
24+
*.pdf binary
25+
*.xcf binary
26+
*.ico binary

.gitconfig

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[core]
2+
autocrlf=false

.repoconfig

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
[version]
2+
repoconfig = 5
3+
4+
[format]
5+
path-ignore=<<EOT
6+
^(
7+
Packages/com\.unity\.package-manager-doctools
8+
|Tools/CodeAnalyzerTestProject
9+
)/
10+
EOT

.yamato/analyze.yml

+24-24
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,24 @@
1-
code_analyser:
2-
name : Code Analyzer
3-
agent:
4-
type: Unity::VM::osx
5-
image: package-ci/mac:stable
6-
flavor: m1.mac
7-
commands:
8-
- git submodule update --init
9-
- mkdir Tools/CodeAnalyzerTestProject/Microsoft.CodeQuality.Analyzers
10-
- curl -L https://www.nuget.org/api/v2/package/Microsoft.CodeQuality.Analyzers/2.9.2 -o Tools/CodeAnalyzerTestProject/Microsoft.CodeQuality.Analyzers/Microsoft.CodeQuality.Analyzers.zip
11-
- unzip Tools/CodeAnalyzerTestProject/Microsoft.CodeQuality.Analyzers/Microsoft.CodeQuality.Analyzers.zip -d Tools/CodeAnalyzerTestProject/Microsoft.CodeQuality.Analyzers
12-
- npm install upm-ci-utils@stable -g --registry https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-npm
13-
- upm-ci package pack --package-path ./Packages/com.unity.inputsystem/
14-
- upm-ci project test --project-path Tools/CodeAnalyzerTestProject -u 2019.4
15-
triggers:
16-
cancel_old_ci: true
17-
pull_requests:
18-
- targets:
19-
only:
20-
- "develop"
21-
artifacts:
22-
UTR_Output.zip:
23-
paths:
24-
- "upm-ci~/test-results/**/*"
1+
code_analyser:
2+
name : Code Analyzer
3+
agent:
4+
type: Unity::VM::osx
5+
image: package-ci/mac:stable
6+
flavor: m1.mac
7+
commands:
8+
- git submodule update --init
9+
- mkdir Tools/CodeAnalyzerTestProject/Microsoft.CodeQuality.Analyzers
10+
- curl -L https://www.nuget.org/api/v2/package/Microsoft.CodeQuality.Analyzers/2.9.2 -o Tools/CodeAnalyzerTestProject/Microsoft.CodeQuality.Analyzers/Microsoft.CodeQuality.Analyzers.zip
11+
- unzip Tools/CodeAnalyzerTestProject/Microsoft.CodeQuality.Analyzers/Microsoft.CodeQuality.Analyzers.zip -d Tools/CodeAnalyzerTestProject/Microsoft.CodeQuality.Analyzers
12+
- npm install upm-ci-utils@stable -g --registry https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-npm
13+
- upm-ci package pack --package-path ./Packages/com.unity.inputsystem/
14+
- upm-ci project test --project-path Tools/CodeAnalyzerTestProject -u 2019.4
15+
triggers:
16+
cancel_old_ci: true
17+
pull_requests:
18+
- targets:
19+
only:
20+
- "develop"
21+
artifacts:
22+
UTR_Output.zip:
23+
paths:
24+
- "upm-ci~/test-results/**/*"

.yamato/format.yml

+15-15
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
1-
check_formatting:
2-
name : Check formatting
3-
agent:
4-
type: Unity::VM::osx
5-
image: desktop/desktop-macos-10.14:latest
6-
flavor: m1.mac
7-
commands:
8-
- hg clone -b stable http://hg-mirror-slo.hq.unity3d.com/unity-extra/unity-meta
9-
- perl unity-meta/Tools/Format/format.pl Assets Packages --dry-run
10-
triggers:
11-
cancel_old_ci: true
12-
pull_requests:
13-
- targets:
14-
only:
15-
- "develop"
1+
check_formatting:
2+
name : Check formatting
3+
agent:
4+
type: Unity::VM::osx
5+
image: desktop/desktop-macos-10.14:latest
6+
flavor: m1.mac
7+
commands:
8+
- hg clone -b stable http://hg-mirror-slo.hq.unity3d.com/unity-extra/unity-meta
9+
- perl unity-meta/Tools/Format/format.pl Assets Packages --dry-run
10+
triggers:
11+
cancel_old_ci: true
12+
pull_requests:
13+
- targets:
14+
only:
15+
- "develop"

.yamato/promotion.yml

+20-20
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
1-
promote:
2-
name: Promote to Production
3-
agent:
4-
type: Unity::VM
5-
image: package-ci/win10:stable
6-
flavor: b1.large
7-
dependencies:
8-
- .yamato/publish-samples.yml
9-
variables:
10-
UPMCI_PROMOTION: 1
11-
commands:
12-
- mv ./Assets/Samples ./Packages/com.unity.inputsystem
13-
- mv ./Assets/Samples.meta ./Packages/com.unity.inputsystem
14-
- npm install upm-ci-utils@stable -g --registry https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-npm
15-
- upm-ci package pack --package-path ./Packages/com.unity.inputsystem/
16-
- upm-ci package promote --package-path ./Packages/com.unity.inputsystem/
17-
artifacts:
18-
artifacts:
19-
paths:
20-
- "upm-ci~/**/*"
1+
promote:
2+
name: Promote to Production
3+
agent:
4+
type: Unity::VM
5+
image: package-ci/win10:stable
6+
flavor: b1.large
7+
dependencies:
8+
- .yamato/publish-samples.yml
9+
variables:
10+
UPMCI_PROMOTION: 1
11+
commands:
12+
- mv ./Assets/Samples ./Packages/com.unity.inputsystem
13+
- mv ./Assets/Samples.meta ./Packages/com.unity.inputsystem
14+
- npm install upm-ci-utils@stable -g --registry https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-npm
15+
- upm-ci package pack --package-path ./Packages/com.unity.inputsystem/
16+
- upm-ci package promote --package-path ./Packages/com.unity.inputsystem/
17+
artifacts:
18+
artifacts:
19+
paths:
20+
- "upm-ci~/**/*"

.yamato/publish-samples.yml

+15-15
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
1-
test_sample_projects:
2-
name : Publish Sample Projects
3-
agent:
4-
type: Unity::VM::osx
5-
image: package-ci/mac:stable
6-
flavor: m1.mac
7-
commands:
8-
- npm install upm-ci-utils@stable -g --registry https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-npm
9-
- upm-ci package pack --package-path ./Packages/com.unity.inputsystem/
10-
- upm-ci package test --package-path ./Packages/com.unity.inputsystem/ -u 2019.4
11-
- Editor=.Editor/Unity.app/Contents/MacOS/Unity Method=Publish sh ExternalSampleProjects/publish.sh
12-
artifacts:
13-
UTR_Output.zip:
14-
paths:
15-
- "upm-ci~/**/*"
1+
test_sample_projects:
2+
name : Publish Sample Projects
3+
agent:
4+
type: Unity::VM::osx
5+
image: package-ci/mac:stable
6+
flavor: m1.mac
7+
commands:
8+
- npm install upm-ci-utils@stable -g --registry https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-npm
9+
- upm-ci package pack --package-path ./Packages/com.unity.inputsystem/
10+
- upm-ci package test --package-path ./Packages/com.unity.inputsystem/ -u 2019.4
11+
- Editor=.Editor/Unity.app/Contents/MacOS/Unity Method=Publish sh ExternalSampleProjects/publish.sh
12+
artifacts:
13+
UTR_Output.zip:
14+
paths:
15+
- "upm-ci~/**/*"

.yamato/test-samples.yml

+24-24
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,25 @@
1-
{% metadata_file .yamato/config.metadata %}
2-
---
3-
{% for editor in editors %}
4-
test_sample_projects_{{ editor.version }}:
5-
name : Test Sample Projects {{ editor.version }}
6-
agent:
7-
type: Unity::VM::osx
8-
image: package-ci/mac:stable
9-
flavor: m1.mac
10-
commands:
11-
- npm install upm-ci-utils@stable -g --registry https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-npm
12-
- upm-ci package pack --package-path ./Packages/com.unity.inputsystem/
13-
- upm-ci package test --package-path ./Packages/com.unity.inputsystem/ -u {{ editor.version }}
14-
- Editor=.Editor/Unity.app/Contents/MacOS/Unity Method=DryRun sh ExternalSampleProjects/publish.sh
15-
triggers:
16-
cancel_old_ci: true
17-
pull_requests:
18-
- targets:
19-
only:
20-
- "develop"
21-
artifacts:
22-
UTR_Output.zip:
23-
paths:
24-
- "upm-ci~/**/*"
1+
{% metadata_file .yamato/config.metadata %}
2+
---
3+
{% for editor in editors %}
4+
test_sample_projects_{{ editor.version }}:
5+
name : Test Sample Projects {{ editor.version }}
6+
agent:
7+
type: Unity::VM::osx
8+
image: package-ci/mac:stable
9+
flavor: m1.mac
10+
commands:
11+
- npm install upm-ci-utils@stable -g --registry https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-npm
12+
- upm-ci package pack --package-path ./Packages/com.unity.inputsystem/
13+
- upm-ci package test --package-path ./Packages/com.unity.inputsystem/ -u {{ editor.version }}
14+
- Editor=.Editor/Unity.app/Contents/MacOS/Unity Method=DryRun sh ExternalSampleProjects/publish.sh
15+
triggers:
16+
cancel_old_ci: true
17+
pull_requests:
18+
- targets:
19+
only:
20+
- "develop"
21+
artifacts:
22+
UTR_Output.zip:
23+
paths:
24+
- "upm-ci~/**/*"
2525
{% endfor %}

0 commit comments

Comments
 (0)