mirror of
https://github.com/aclist/dztui.git
synced 2026-11-11 04:20:39 +01:00
change: parse repository root
This commit is contained in:
1 parent
370edbe01b
commit
2479cbd41b
7 files changed
+27
-19
No files matched your search
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user