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:
parent
7d84bf5b44
commit
767e72a17b
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user