mirror of
https://github.com/graphql-python/graphene-django.git
synced 2025-07-19 04:32:25 +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:
|
dev-setup:
|
||||||
pip install -e ".[dev]"
|
pip install -e ".[dev]"
|
||||||
|
|
||||||
|
.PHONY: install-dev
|
||||||
|
install-dev: dev-setup # Alias install-dev -> dev-setup
|
||||||
|
|
||||||
|
.PHONY: tests
|
||||||
tests:
|
tests:
|
||||||
py.test graphene_django --cov=graphene_django -vv
|
py.test graphene_django --cov=graphene_django -vv
|
||||||
|
|
||||||
|
.PHONY: test
|
||||||
|
test: tests # Alias test -> tests
|
||||||
|
|
||||||
|
.PHONY: format
|
||||||
format:
|
format:
|
||||||
black --exclude "/migrations/" graphene_django examples
|
black --exclude "/migrations/" graphene_django examples
|
||||||
|
|
||||||
|
.PHONY: lint
|
||||||
lint:
|
lint:
|
||||||
flake8 graphene_django examples
|
flake8 graphene_django examples
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user