Also move data files for gen scripts into gen dir

This commit is contained in:
Kovid Goyal
2023-10-14 08:04:37 +05:30
parent e6ef2fceea
commit a79dd3996a
5 changed files with 4 additions and 4 deletions

View File

@@ -134,7 +134,7 @@ def parse_ucd() -> None:
# the future.
marks.add(codepoint)
with open('nerd-fonts-glyphs.txt') as f:
with open('gen/nerd-fonts-glyphs.txt') as f:
for line in f:
line = line.strip()
if not line or line.startswith('#'):
@@ -538,7 +538,7 @@ def gen_wcwidth() -> None:
def gen_rowcolumn_diacritics() -> None:
# codes of all row/column diacritics
codes = []
with open("./rowcolumn-diacritics.txt") as file:
with open("gen/rowcolumn-diacritics.txt") as file:
for line in file.readlines():
if line.startswith('#'):
continue