-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
45 lines (34 loc) · 746 Bytes
/
Makefile
File metadata and controls
45 lines (34 loc) · 746 Bytes
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
.PHONY:install-pre-commit
install-pre-commit:
pre-commit uninstall; pre-commit install
.PHONY: lint
lint:
pre-commit run --all-files
.PHONY:packages
packages:
pip install -r requirements.txt
.PHONY:migrate
migrate:
python manage.py migrate
.PHONY:migrations
migrations:
python manage.py makemigrations
.PHONY:runserver
runserver:
python manage.py runserver
.PHONY:superuser
superuser:
python manage.py createsuperuser
.PHONY:setup
setup: install migrations migrate install-pre-commit ;
.PHONY:coverage-test
coverage-test:
python manage.py test
.PHONY:coverage-report
coverage-report:
coverage report
.PHONY:coverage-html
coverage:
coverage html
.PHONY:run-coverage
run-coverage: coverage-test coverage-report coverage-html ;