forked from sebleier/django-redis-cache
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
28 lines (23 loc) · 603 Bytes
/
Makefile
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
SHELL := /bin/bash
PACKAGE_NAME=redis_cache
DJANGO_VERSION?=>=1.11,<4.0
.PHONY: install_requirements
install_requirements: requirements*.txt
pip install -r requirements.txt
pip install -r requirements-dev.txt
pip install 'Django$(DJANGO_VERSION)'
.PHONY: clean
clean:
python setup.py clean
rm -rf build/
rm -rf dist/
rm -rf *.egg*/
rm -rf __pycache__/
rm -f MANIFEST
rm -f test.db
.PHONY: test
test: install_requirements
PYTHONPATH=$(PYTHONPATH): django-admin test --settings=tests.settings -s
.PHONY: shell
shell:
PYTHONPATH=$(PYTHONPATH): django-admin shell --settings=tests.settings