forked from Inhenn/ChatterBot
-
Notifications
You must be signed in to change notification settings - Fork 1
/
makefile
51 lines (41 loc) · 1.15 KB
/
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
.PHONY: all flake8 test nose_tests django_tests benchmark docs clean
all:
python runtests.py
nosetests --with-coverage --cover-package=chatterbot
nosetests examples
sphinx-build -nW -b html ./docs/ ./build/
python tests/benchmarks.py
test:
python runtests.py
nosetests --with-coverage --cover-package=chatterbot
nosetests examples
nose_tests:
nosetests --with-coverage --cover-package=chatterbot
nosetests examples
django_tests:
python runtests.py
nosetests --with-coverage --cover-package=chatterbot
nosetests examples
benchmark:
python tests/benchmarks.py
flake8:
flake8
docs:
sphinx-build -nW -b html ./docs/ ./build/
clean:
rm -rf .coverage dist build database.db *.egg*
help:
@echo " all"
@echo " Compile all nosetests, Django tests, falke8 and Sphinx docs also."
@echo " tests"
@echo " Execute nosetests with code coverage and Djanog tests."
@echo " nose_tests"
@echo " Execute only nose_tests."
@echo " django_tests"
@echo " Execute only django_tests"
@echo " flake"
@echo " Check style with flake8."
@echo " docs"
@echo " Build sphnix docs"
@echo " clean"
@echo " Clean build directory and removes unversioned files."