mirror of
https://github.com/konpa/devicon.git
synced 2025-08-16 03:24:13 +02:00
Added check script for the icons and fix icons with fill or viewBox issues (#460)
* Added script to check svg fill and viewBox * Fix cucumber-plain-wordmark * Fix various fill and viewBox issues in svgs * Added check for height and width attr * Added check_svgs workflow * Fix an issue where the error is not log properly * Added on push for testing * Updated trigger so it now runs whenever PR is update * Added sleep to script to make logs nicer * Added script that create env var * Updated the github_env to accomodate ubuntu * Change format of log and allow filehandler to return Path * Updated logging messages * Updated refs for the checkout action * Make logging nicer * Updated fix messaging so it's more clear * fix icons: icons/cucumber/cucumber-plain-wordmark.svg, icons/intellij/intellij-plain-wordmark.svg, icons/jenkins/jenkins-plain.svg, icons/twitter/twitter-original.svg, icons/yunohost/yunohost-plain.svg
This commit is contained in:
4
.github/scripts/icomoon_build.py
vendored
4
.github/scripts/icomoon_build.py
vendored
@@ -22,7 +22,7 @@ def main():
|
||||
runner = SeleniumRunner(args.download_path,
|
||||
args.geckodriver_path, args.headless)
|
||||
runner.upload_icomoon(args.icomoon_json_path)
|
||||
svgs = filehandler.get_svgs_paths(new_icons, args.icons_folder_path)
|
||||
svgs = filehandler.get_svgs_paths(new_icons, args.icons_folder_path, True)
|
||||
runner.upload_svgs(svgs)
|
||||
|
||||
zip_name = "devicon-v1.0.zip"
|
||||
@@ -34,7 +34,7 @@ def main():
|
||||
except TimeoutException as e:
|
||||
sys.exit("Selenium Time Out Error: \n" + str(e))
|
||||
except Exception as e:
|
||||
sys.exit(e)
|
||||
sys.exit(str(e))
|
||||
finally:
|
||||
runner.close()
|
||||
|
||||
|
Reference in New Issue
Block a user