change: parse repository root

This commit is contained in:
aclist committed 2026-11-09 11:03:50 +09:00
1 parent 370edbe01b
commit 2479cbd41b
7 files changed
+27 -19

No files matched your search

+3 -1
View File
@@ -1,5 +1,7 @@
from pathlib import Path
from shared import get_git_root
BOILERPLATE = """
This file includes the combined licenses to the following components:
@@ -40,7 +42,7 @@ class CombinedLicense:
def concat_license() -> str:
combined = CombinedLicense()
root = Path(__file__).resolve().parents[1]
root = get_git_root()
licenses = root.joinpath("docs/licenses")
main_license = root.joinpath(LICENSE_FILE)