Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/linker.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordotnet-maestro[bot] <42748379+dotnet-maestro[bot]@users.noreply.github.com>2021-04-26 15:18:15 +0300
committerGitHub <noreply@github.com>2021-04-26 15:18:15 +0300
commit253bb6528eafee7bdbb60a3a3085c8125409009f (patch)
treebff7a0c84e50162e2bf552d7d7d3ff9ec379ac35 /eng/common/generate-locproject.ps1
parent1dfcf3077aca1ea77850f409d95c3192f03507b3 (diff)
Update dependencies from https://github.com/dotnet/arcade build 20210422.1 (#1993)
[main] Update dependencies from dotnet/arcade
Diffstat (limited to 'eng/common/generate-locproject.ps1')
-rw-r--r--eng/common/generate-locproject.ps117
1 files changed, 13 insertions, 4 deletions
diff --git a/eng/common/generate-locproject.ps1 b/eng/common/generate-locproject.ps1
index 7225ddc66..24c00b5be 100644
--- a/eng/common/generate-locproject.ps1
+++ b/eng/common/generate-locproject.ps1
@@ -66,10 +66,19 @@ $locJson = @{
}
if ($continue)
{
- return @{
- SourceFile = $sourceFile
- CopyOption = "LangIDOnName"
- OutputPath = $outputPath
+ if ($_.Directory.Name -eq 'en' -and $_.Extension -eq '.json') {
+ return @{
+ SourceFile = $sourceFile
+ CopyOption = "LangIDOnPath"
+ OutputPath = "$($_.Directory.Parent.FullName | Resolve-Path -Relative)\"
+ }
+ }
+ else {
+ return @{
+ SourceFile = $sourceFile
+ CopyOption = "LangIDOnName"
+ OutputPath = $outputPath
+ }
}
}
}