1
1
mirror of https://github.com/wez/wezterm.git synced 2024-11-22 04:56:12 +03:00

ci: docs: make black run conditional on having it installed

This commit is contained in:
Wez Furlong 2024-02-03 08:30:31 -07:00
parent 7d84bf5b44
commit 767e72a17b
No known key found for this signature in database
GPG Key ID: 7A7F66A31EC9B387

View File

@ -41,7 +41,9 @@ python3 ci/generate-docs.py || exit 1
# Adjust path to pick up pip-installed binaries
PATH="$HOME/.local/bin;$PATH"
black ci/generate-docs.py ci/subst-release-info.py
if hash black 2>/dev/null ; then
black ci/generate-docs.py ci/subst-release-info.py
fi
cp "assets/icon/terminal.png" docs/favicon.png
cp "assets/icon/wezterm-icon.svg" docs/favicon.svg