mirror of
https://github.com/graphql-python/graphene.git
synced 2024-11-23 01:56:54 +03:00
da1359ecca
* expose livehtml autobuild in Makefile * add API documentation for schema * document graphene core API * fixes black lint * Update graphene/types/union.py Co-Authored-By: Jonathan Kim <jkimbo@gmail.com> * Update graphene/types/argument.py Co-Authored-By: Jonathan Kim <jkimbo@gmail.com> * Update graphene/types/field.py Co-Authored-By: Jonathan Kim <jkimbo@gmail.com> * Update graphene/types/inputfield.py Co-Authored-By: Jonathan Kim <jkimbo@gmail.com> * add note about non-functional `interfaces` meta argument in mutation * update with other virtual environment configuration * pin autobuild * format argument example code * format enum input object and interface examples * format enum mutation union examples * revise documentation with imports, capitalization
20 lines
558 B
Makefile
20 lines
558 B
Makefile
.PHONY: help
|
|
help:
|
|
@echo "Please use \`make <target>' where <target> is one of"
|
|
@grep -E '^\.PHONY: [a-zA-Z_-]+ .*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = "(: |##)"}; {printf "\033[36m%-30s\033[0m %s\n", $$2, $$3}'
|
|
|
|
.PHONY: install-dev ## Install development dependencies
|
|
install-dev:
|
|
pip install -e ".[test]"
|
|
|
|
test:
|
|
py.test graphene
|
|
|
|
.PHONY: docs ## Generate docs
|
|
docs: install-dev
|
|
cd docs && make install && make html
|
|
|
|
.PHONY: docs-live ## Generate docs with live reloading
|
|
docs-live: install-dev
|
|
cd docs && make install && make livehtml
|