mirror of
https://github.com/konpa/devicon.git
synced 2025-08-20 05:11:37 +02:00
Build bot now check both PR and devicon.json
This commit is contained in:
2
.github/scripts/build_assets/filehandler.py
vendored
2
.github/scripts/build_assets/filehandler.py
vendored
@@ -6,7 +6,7 @@ import os
|
||||
import re
|
||||
|
||||
|
||||
def find_new_icons(devicon_json_path: str, icomoon_json_path: str):
|
||||
def find_new_icons_in_devicon_json(devicon_json_path: str, icomoon_json_path: str):
|
||||
"""
|
||||
Find the newly added icons by finding the difference between
|
||||
the devicon.json and the icomoon.json.
|
||||
|
2
.github/scripts/build_assets/util.py
vendored
2
.github/scripts/build_assets/util.py
vendored
@@ -46,7 +46,7 @@ def set_env_var(key: str, value: str, delimiter: str='~'):
|
||||
raise Exception("This function doesn't support this platform: " + platform.system())
|
||||
|
||||
|
||||
def find_object_added_in_this_pr(icons: List[dict], pr_title: str):
|
||||
def find_object_added_in_pr(icons: List[dict], pr_title: str):
|
||||
"""
|
||||
Find the icon name from the PR title.
|
||||
:param icons, a list of the font objects found in the devicon.json.
|
||||
|
Reference in New Issue
Block a user