Remove licensing repository dependency and standalone submodule proxy from tests and CI
CI Test Suite / Run Component Tests & Pipeline Verification (push) Failing after 1m35s

This commit is contained in:
2026-10-03 20:22:07 +02:00
parent d9bc8df002
commit 303744a3f8
5 changed files with 6 additions and 50 deletions
+6 -3
View File
@@ -14,9 +14,12 @@ import shutil
ROOT_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
ROOT_ASSETS_DIR = os.path.join(ROOT_DIR, "assets")
COMPILATION_ASSETS_DIR = os.path.join(ROOT_DIR, "compilation", "assets")
LICENSING_ASSETS_DIR = os.path.join(ROOT_DIR, "LOGAR-LICENSING", "assets")
target_asset_dirs = [ROOT_ASSETS_DIR, COMPILATION_ASSETS_DIR]
licensing_dir = os.path.join(ROOT_DIR, "LOGAR-LICENSING")
if os.path.exists(licensing_dir):
target_asset_dirs.append(os.path.join(licensing_dir, "assets"))
for d in (ROOT_ASSETS_DIR, COMPILATION_ASSETS_DIR, LICENSING_ASSETS_DIR):
for d in target_asset_dirs:
os.makedirs(d, exist_ok=True)
@@ -419,7 +422,7 @@ def main():
swatch_svgs[name] = f'<svg width="18" height="18" viewBox="0 0 18 18" xmlns="http://www.w3.org/2000/svg"><rect x="1" y="1" width="16" height="16" rx="4" fill="{hex_code}" stroke="{border}" stroke-width="1.5"/></svg>'
# 6. Write to target directories
for target_dir in (ROOT_ASSETS_DIR, COMPILATION_ASSETS_DIR, LICENSING_ASSETS_DIR):
for target_dir in target_asset_dirs:
swatch_dir = os.path.join(target_dir, "swatches")
os.makedirs(swatch_dir, exist_ok=True)