mirror of
https://github.com/ckaczor/sqltoolsservice.git
synced 2026-02-16 10:58:30 -05:00
Adding missing directories needed for integration tests (#2181)
* Adding missing directories needed for integration tests * Fixing dir names * removing unused dir creation * Adding back all projs * adding missing dirs * Fixing comments
This commit is contained in:
@@ -1,10 +1,13 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
# This script creates the necessary directories that are required
|
# This script creates the necessary directories required
|
||||||
# for the the linux dotnet builds to work. This issue is caused due to a mismatch
|
# for Linux dotnet builds to function correctly. The issue arises due to a mismatch
|
||||||
# in the casing for the localization directories between all the projects and the
|
# in the casing of the localization directories between different frameworks used in this repo.
|
||||||
# nuget packages they are using. This not an issue in the windows because the dirs
|
# Net 472 creates localization directories like zh-Hans, pt-BR, zh-Hant, while netcore
|
||||||
# are case insensitive.
|
# uses zh-hans, pt-br, zh-hant. This discrepancy causes build failures on Linux since the file system is
|
||||||
|
# case-sensitive. Consequently, when attempting to build using the netcore framework, it tries to copy files
|
||||||
|
# from projects using the net472 framework (e.g., zh-Hant), resulting in failures as the localization directory
|
||||||
|
# (present in netcore as zh-hant and not zh-Hant) cannot be found.
|
||||||
|
|
||||||
|
|
||||||
# To fix the issue, we need to make sure all the projects
|
# To fix the issue, we need to make sure all the projects
|
||||||
@@ -39,35 +42,12 @@ dotnetProjectArray=(
|
|||||||
framework7="/bin/Debug/net7.0/"
|
framework7="/bin/Debug/net7.0/"
|
||||||
|
|
||||||
requiredLocDirectories=(
|
requiredLocDirectories=(
|
||||||
"cs"
|
|
||||||
"cs-CZ"
|
|
||||||
"de"
|
|
||||||
"de-DE"
|
|
||||||
"es"
|
|
||||||
"es-ES"
|
|
||||||
"fr"
|
|
||||||
"fr-FR"
|
|
||||||
"hu-HU"
|
|
||||||
"it"
|
|
||||||
"it-IT"
|
|
||||||
"ja"
|
|
||||||
"ja-JP"
|
|
||||||
"ko"
|
|
||||||
"ko-KR"
|
|
||||||
"nl-NL"
|
|
||||||
"pl"
|
|
||||||
"pl-PL"
|
|
||||||
"pt-br"
|
"pt-br"
|
||||||
"pt-PT"
|
"pt-BR"
|
||||||
"ru"
|
|
||||||
"ru-RU"
|
|
||||||
"sv-SE"
|
|
||||||
"tr"
|
|
||||||
"tr-TR"
|
|
||||||
"zh-HANS"
|
|
||||||
"zh-hans"
|
"zh-hans"
|
||||||
"zh-HANT"
|
"zh-Hans"
|
||||||
"zh-hant"
|
"zh-hant"
|
||||||
|
"zh-Hant"
|
||||||
)
|
)
|
||||||
|
|
||||||
for i in "${dotnetProjectArray[@]}"
|
for i in "${dotnetProjectArray[@]}"
|
||||||
|
|||||||
Reference in New Issue
Block a user