mirror of
https://github.com/zulip/zulip.git
synced 2025-11-15 03:11:54 +00:00
generate-custom-icon-webfont: Replace with webpack webfonts-loader.
Signed-off-by: Anders Kaseorg <anders@zulipchat.com>
This commit is contained in:
committed by
Tim Abbott
parent
586aaddcc0
commit
ab89f40a66
@@ -488,13 +488,6 @@ def main(options):
|
||||
# copy over static files from the zulip_bots package
|
||||
generate_zulip_bots_static_files()
|
||||
|
||||
webfont_paths = ["tools/setup/generate-custom-icon-webfont", "static/icons/fonts/template.hbs"]
|
||||
webfont_paths += glob.glob('static/assets/icons/*')
|
||||
if file_or_package_hash_updated(webfont_paths, "webfont_files_hash", options.is_force):
|
||||
run(["tools/setup/generate-custom-icon-webfont"])
|
||||
else:
|
||||
print("No need to run `tools/setup/generate-custom-icon-webfont`.")
|
||||
|
||||
build_pygments_data_paths = ["tools/setup/build_pygments_data", "tools/setup/lang.json"]
|
||||
from pygments import __version__ as pygments_version
|
||||
if file_or_package_hash_updated(build_pygments_data_paths, "build_pygments_data_hash", options.is_force,
|
||||
|
||||
Reference in New Issue
Block a user