mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
This will build the docs into a directory called docs-local, sans the blog. Note the near-total copy/paste of the `nav` due to how mydocs does configuration inheritance; this is fine for now.
23 lines
539 B
Makefile
23 lines
539 B
Makefile
test:
|
|
pytest --cov-report term-missing --cov=textual tests/ -vv
|
|
unit-test:
|
|
pytest --cov-report term-missing --cov=textual tests/ -vv -m "not integration_test"
|
|
test-snapshot-update:
|
|
pytest --cov-report term-missing --cov=textual tests/ -vv --snapshot-update
|
|
typecheck:
|
|
mypy src/textual
|
|
format:
|
|
black src
|
|
format-check:
|
|
black --check src
|
|
docs-serve:
|
|
rm -rf .screenshot_cache
|
|
mkdocs serve
|
|
docs-build:
|
|
mkdocs build
|
|
docs-local-build:
|
|
mkdocs build --config-file mkdocs-local.yml
|
|
docs-deploy:
|
|
rm -rf .screenshot_cache
|
|
mkdocs gh-deploy
|