git ignore & folder cleanup script
This commit is contained in:
parent
b3647c4a5e
commit
de1227ef75
2 changed files with 2 additions and 1 deletions
|
|
@ -145,7 +145,7 @@ def lowercase_all_the_folders(root_path=font_location):
|
||||||
os.rename(dir_path, new_dir_path)
|
os.rename(dir_path, new_dir_path)
|
||||||
print(f"Renamed directory: {dir_path} -> {new_dir_path}")
|
print(f"Renamed directory: {dir_path} -> {new_dir_path}")
|
||||||
|
|
||||||
def add_font_folders_to_each(root_path):
|
def add_font_folders_to_each(root_path=font_location):
|
||||||
for dir in os.listdir(root_path):
|
for dir in os.listdir(root_path):
|
||||||
dir_path = os.path.join(root_path, dir)
|
dir_path = os.path.join(root_path, dir)
|
||||||
if os.path.isdir(dir_path):
|
if os.path.isdir(dir_path):
|
||||||
|
|
|
||||||
1
font_files/.gitignore → .gitignore
vendored
1
font_files/.gitignore → .gitignore
vendored
|
|
@ -1,3 +1,4 @@
|
||||||
*.ofm
|
*.ofm
|
||||||
*.cfg
|
*.cfg
|
||||||
*.g2n
|
*.g2n
|
||||||
|
*.DS_Store
|
||||||
Loading…
Add table
Add a link
Reference in a new issue