forked from mpolden/jarvis2
-
Notifications
You must be signed in to change notification settings - Fork 34
/
Makefile
44 lines (30 loc) · 788 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
40
41
42
43
44
all: lint test
fmt:
autopep8 --in-place app/*.py app/jobs/*.py support/*.py
flake8:
flake8 --max-complexity=8 app/*.py app/jobs/*.py support/*.py
jshint:
jshint app/static/*.js app/static/widgets/*/*.js
lint: flake8 jshint
test:
python app/tests.py
clean:
rm -f *.pyc app/*.pyc app/jobs/*.pyc support/*.pyc
rm -fr app/static/.webassets-cache/
rm -fr app/static/gen/
release: clean lint test
widget:
python support/create_widget.py $(NAME)
dashboard:
python support/create_dashboard.py $(NAME)
debug:
python app/run.py --debug
run:
python app/run.py
run-job:
python app/run.py --job $(NAME)
google-api-auth:
python support/google_api_auth.py
update-deps:
pip install -U -r requirements-to-freeze.txt
pip freeze | grep -vE 'argparse|wsgiref' > requirements.txt