homebrew-fonts/.fontfoldercleanup/remove_ds_and_clean_empty_folders.py
Matt Troutman 1c91c9d74b
no message
2024-10-02 15:08:17 -05:00

10 lines
675 B
Python

import font_folder_cleanup
import os
if __name__ == '__main__':
# Clean up git repository
os.system("./git_reset_and_clean.sh") # Change to repo location, reset the repository, and clean untracked files except those in .gitignore
font_folder_cleanup.remove_ds_store_files() # Remove .DS_Store files from the repository
font_folder_cleanup.remove_setup_complete_files() # Remove setup complete files from the repository
font_folder_cleanup.remove_empty_folders() # Remove empty folders from the repository
os.system("./git_reset_and_clean.sh") # Change to repo location, reset the repository, and clean untracked files except those in .gitignore