forked from mindflayer/python-mocket
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
33 lines (23 loc) · 640 Bytes
/
Makefile
File metadata and controls
33 lines (23 loc) · 640 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
30
31
32
install-dev-requirements:
pip install -q -e .
install-test-requirements:
pip install -q -r test_requirements.txt
test-python:
@echo "Running Python tests"
python setup.py -q test || exit 1
@echo ""
lint-python:
@echo "Linting Python files"
flake8 --exit-zero --ignore=E501 --exclude=.git,compat.py mocket
@echo ""
develop: install-dev-requirements install-test-requirements
test: install-test-requirements lint-python test-python
safetest:
export SKIP_TRUE_REDIS=1; export SKIP_TRUE_HTTP=1; make test
publish:
python setup.py sdist upload
clean:
rm -rf __pycache__
rm -rf dist
rm -rf *.egg-info
.PHONY: publish clean