Alias some commands and add PHONY

This commit is contained in:
Jonathan Kim 2019-06-14 10:49:29 +01:00
parent 779b7b4dc5
commit d0fff12be4

View File

@ -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