mirror of
https://github.com/graphql-python/graphene-django.git
synced 2024-11-13 05:07:02 +03:00
8383bdc5aa
* Call black via pre-commit * Apply black
26 lines
546 B
Makefile
26 lines
546 B
Makefile
.PHONY: dev-setup ## Install development dependencies
|
|
dev-setup:
|
|
pip install -e ".[dev]"
|
|
|
|
.PHONY: install-dev
|
|
install-dev: dev-setup # Alias install-dev -> dev-setup
|
|
|
|
.PHONY: tests
|
|
tests:
|
|
py.test graphene_django --cov=graphene_django -vv
|
|
|
|
.PHONY: test
|
|
test: tests # Alias test -> tests
|
|
|
|
.PHONY: format
|
|
format:
|
|
pre-commit run --all-files
|
|
|
|
.PHONY: docs ## Generate docs
|
|
docs: dev-setup
|
|
cd docs && make install && make html
|
|
|
|
.PHONY: docs-live ## Generate docs with live reloading
|
|
docs-live: dev-setup
|
|
cd docs && make install && make livehtml
|