2019-06-14 14:33:37 +03:00
|
|
|
.PHONY: dev-setup ## Install development dependencies
|
2019-04-26 15:14:28 +03:00
|
|
|
dev-setup:
|
2019-04-30 12:02:23 +03:00
|
|
|
pip install -e ".[dev]"
|
2019-04-26 15:14:28 +03:00
|
|
|
|
2019-06-14 14:33:37 +03:00
|
|
|
.PHONY: install-dev
|
|
|
|
install-dev: dev-setup # Alias install-dev -> dev-setup
|
|
|
|
|
|
|
|
.PHONY: tests
|
2019-04-26 15:14:28 +03:00
|
|
|
tests:
|
2019-04-30 12:02:23 +03:00
|
|
|
py.test graphene_django --cov=graphene_django -vv
|
|
|
|
|
2019-06-14 14:33:37 +03:00
|
|
|
.PHONY: test
|
|
|
|
test: tests # Alias test -> tests
|
|
|
|
|
|
|
|
.PHONY: format
|
2019-04-30 12:02:23 +03:00
|
|
|
format:
|
2022-08-19 09:15:44 +03:00
|
|
|
pre-commit run --all-files
|
2019-06-14 14:33:37 +03:00
|
|
|
|
|
|
|
.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
|