mirror of https://github.com/zulip/zulip.git
update-prod-static: Only run generate_landing_page_images if necessary.
The vast majority of deployments do not need landing page assets generated every deploy, which takes more than 15s. This also removes them from built tarballs, which also do not need them.
This commit is contained in:
parent
369eea27ba
commit
89f824c769
|
@ -42,8 +42,10 @@ run(["./tools/setup/build_pygments_data"])
|
|||
# Build time zone data
|
||||
run(["./tools/setup/build_timezone_values"])
|
||||
|
||||
# Generate landing page images of various sizes and formats.
|
||||
run(["tools/setup/generate_landing_page_images.py"])
|
||||
# Generate landing page images of various sizes and formats if we will
|
||||
# need them.
|
||||
if settings.CORPORATE_ENABLED:
|
||||
run(["./tools/setup/generate_landing_page_images.py"])
|
||||
|
||||
# Create webpack bundle
|
||||
run(["./tools/webpack", "--quiet"])
|
||||
|
|
Loading…
Reference in New Issue