File tree Expand file tree Collapse file tree 1 file changed +14
-13
lines changed
Expand file tree Collapse file tree 1 file changed +14
-13
lines changed Original file line number Diff line number Diff line change @@ -7,19 +7,6 @@ parameters:
77
88steps :
99- ${{ if parameters.unityProject }} :
10- - bash : |
11- for entry in $(find . -not -path "*/\.*" -not -path . -not -name "*.meta")
12- do if [ ! -f "$entry.meta" ]
13- then echo "Missing Unity meta file for '$entry'." >&2
14- fi
15- done
16- for entry in $(find . -not -path "*/\.*" -not -path . -name "*.meta")
17- do if [ ! -f ${entry::-5} ] && [ ! -d ${entry::-5} ]; then
18- echo "Missing file for Unity meta file '$entry'." >&2
19- fi
20- done
21- displayName: Check Unity .meta files
22- failOnStderr: true
2310 - powershell : |
2411 Set-PSRepository -Name PSGallery -InstallationPolicy Trusted
2512 Install-Module UnitySetup -Scope CurrentUser -Force
@@ -70,3 +57,17 @@ steps:
7057 msbuildArchitecture : x64
7158 ${{ if parameters.unityProject }} :
7259 msbuildArgs : /p:UnityEditorAssembliesPath="$(Unity.Path)Editor/Data/Managed/"
60+ - ${{ if parameters.unityProject }} :
61+ - bash : |
62+ for entry in $(find . -not -path "*/\.*" -not -path . -not -name "*.meta")
63+ do if [ ! -f "$entry.meta" ]
64+ then echo "Missing Unity meta file for '$entry'." >&2
65+ fi
66+ done
67+ for entry in $(find . -not -path "*/\.*" -not -path . -name "*.meta")
68+ do if [ ! -f ${entry::-5} ] && [ ! -d ${entry::-5} ]; then
69+ echo "Missing file for Unity meta file '$entry'." >&2
70+ fi
71+ done
72+ displayName: Check Unity .meta files
73+ failOnStderr: true
You can’t perform that action at this time.
0 commit comments