1
0
mirror of https://github.com/konpa/devicon.git synced 2025-08-12 17:44:24 +02:00

Uncomment test code

This commit is contained in:
Thomas Bui
2021-06-18 10:42:25 -07:00
parent e23d295d37
commit 2f116f1ed5

View File

@@ -26,25 +26,25 @@ def main():
print(f"There are {len(new_icons)} icons to be build. Here are they:", *new_icons, sep = "\n") print(f"There are {len(new_icons)} icons to be build. Here are they:", *new_icons, sep = "\n")
# print("Begin optimizing files") print("Begin optimizing files")
# optimize_svgs(new_icons, args.icons_folder_path) optimize_svgs(new_icons, args.icons_folder_path)
# print("Updating the icomoon json") print("Updating the icomoon json")
# update_icomoon_json(new_icons, args.icomoon_json_path) update_icomoon_json(new_icons, args.icomoon_json_path)
# icon_svgs = filehandler.get_svgs_paths( icon_svgs = filehandler.get_svgs_paths(
# new_icons, args.icons_folder_path, icon_versions_only=True) new_icons, args.icons_folder_path, icon_versions_only=True)
# runner = SeleniumRunner(args.download_path, runner = SeleniumRunner(args.download_path,
# args.geckodriver_path, args.headless) args.geckodriver_path, args.headless)
# runner.upload_icomoon(args.icomoon_json_path) runner.upload_icomoon(args.icomoon_json_path)
# runner.upload_svgs(icon_svgs) runner.upload_svgs(icon_svgs)
# zip_name = "devicon-v1.0.zip" zip_name = "devicon-v1.0.zip"
# zip_path = Path(args.download_path, zip_name) zip_path = Path(args.download_path, zip_name)
# runner.download_icomoon_fonts(zip_path) runner.download_icomoon_fonts(zip_path)
# filehandler.extract_files(str(zip_path), args.download_path) filehandler.extract_files(str(zip_path), args.download_path)
# filehandler.rename_extracted_files(args.download_path) filehandler.rename_extracted_files(args.download_path)
# print("Task completed.") print("Task completed.")
except TimeoutException as e: except TimeoutException as e:
util.exit_with_err("Selenium Time Out Error: \n" + str(e)) util.exit_with_err("Selenium Time Out Error: \n" + str(e))
except Exception as e: except Exception as e: