forked from graphql-python/graphene-mongo
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
30 lines (23 loc) · 700 Bytes
/
Makefile
File metadata and controls
30 lines (23 loc) · 700 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
clean:
@rm -f .coverage 2> /dev/null
@rm -rf .eggs 2> /dev/null
@rm -rf .cache 2> /dev/null
@rm -rf ./graphene_mongo/.cache 2> /dev/null
@rm -rf build 2> /dev/null
@rm -rf dist 2> /dev/null
@rm -rf graphene_mongo.egg-info 2> /dev/null
@find . -name "*.pyc" -delete
@find . -name "*.swp" -delete
@find . -name "__pycache__" -delete
lint:
@flake8 graphene_mongo
test: clean lint
py.test graphene_mongo/tests --cov=graphene_mongo --cov-report=html --cov-report=term
register-pypitest:
python setup.py register -r pypitest
deploy-pypitest: clean
python setup.py sdist upload -r pypitest
register:
python setup.py register -r pypi
deploy: clean
python setup.py sdist upload -r pypi