mirror of
https://github.com/graphql-python/graphene-django.git
synced 2025-07-17 19:52:23 +03:00
Alias some commands and add PHONY
This commit is contained in:
parent
779b7b4dc5
commit
d0fff12be4
9
Makefile
9
Makefile
|
@ -2,12 +2,21 @@
|
|||
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:
|
||||
black --exclude "/migrations/" graphene_django examples
|
||||
|
||||
.PHONY: lint
|
||||
lint:
|
||||
flake8 graphene_django examples
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user