-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
70 lines (42 loc) · 1.07 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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
.PHONY:install
install:
poetry install
.PHONY:install-pre-commit
install-pre-commit:
poetry run pre-commit uninstall; poetry run pre-commit install
.PHONY: lint
lint:
poetry run pre-commit run --all-files
.PHONY:migrate
migrate:
poetry run python -m core.manage migrate
.PHONY:migrations
migrations:
poetry run python -m core.manage makemigrations
.PHONY:collectstatic
collectstatic:
poetry run python -m core.manage collectstatic
.PHONY:runserver
runserver:
poetry run python -m core.manage runserver_plus
.PHONY:huey
huey:
poetry run python -m core.manage run_huey
.PHONY:superuser
superuser:
poetry run python -m core.manage createsuperuser
.PHONY:setup
setup: install migrations migrate install-pre-commit ;
.PHONY:push-update
push-update: migrations migrate collectstatic ;
.PHONY:coverage-test
coverage-test:
poetry run python -m core.manage test
.PHONY:coverage-report
coverage-report:
poetry run coverage report
.PHONY:coverage-html
coverage:
poetry run coverage html
.PHONY:run-coverage
run-coverage: coverage-test coverage-report coverage-html ;