forked from Mischback/django-project-skeleton
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
34 lines (25 loc) · 722 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
29
30
31
32
33
34
.SILENT:
.PHONY: all clean current doc doc-srv serve tox
all:
echo ""
echo " clean Removes all temporary files"
echo " current Runs the tox-environment for the current development"
echo " doc Builds the documentation using 'Sphinx'"
echo " doc-srv Serves the documentation on port 8082 (and automatically builds it)"
echo " serve Runs the Django development server on port 8080"
echo " tox Runs complete tox test"
echo ""
# deletes all temporary files created by Django
clean:
find . -iname "*.pyc" -delete
find . -iname "__pycache__" -delete
current:
tox -q -e util
doc:
tox -q -e doc
doc-srv: doc
tox -q -e doc-srv
serve:
tox -q -e run
tox:
tox -q