forked from chovanecm/sacredboard
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
39 lines (28 loc) · 999 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
35
36
37
38
39
default:
@echo make pydependencies Install Python dependencies
@echo make test run all tests
@echo make pytest run Python tests only. Python3.5 or higher must be installed.
@echo make flake8 run Python code style checker
@echo make pydocstyle run Python documentation style checker
@echo make qunit run JavaScript unit tests. node.js required.
@echo make eslint run JavaScript code and documentation checker. node.js required
pydocstyle:
pydocstyle sacredboard
flake8:
flake8 sacredboard
pytest:
python setup.py test -v
node_modules: package.json
npm install
qunit: node_modules
npm test
eslint: node_modules
npm run lint -s
pydependencies: pyrequirements pydevrequirements pytestrequirements
pytestrequirements: pytest-requirements.txt
pip install -r pytest-requirements.txt
pyrequirements: requirements.txt
pip install -r requirements.txt
pydevrequirements: dev-requirements.txt
pip install -r dev-requirements.txt
test: pytest qunit flake8 pydocstyle eslint