-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathMakefile
More file actions
31 lines (22 loc) · 695 Bytes
/
Makefile
File metadata and controls
31 lines (22 loc) · 695 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
db_dump:
python -m src db_dump
export_TV:
# Exporting in TVkill format for TV device
python -m src db_export -d 1 -f tvkill
export_flipper:
# Exporting in flipper format for TV device
python -m src db_export -d 1 -f flipper
tests:
pytest -v tests/
coverage:
pytest --cov=src --cov-report term-missing -vv
docstring_coverage:
interrogate -v src/ -e src/__init__.py --ignore-magic --badge-style flat --generate-badge ./assets/
coverage_badge:
coverage-badge -f -o ./assets/coverage.svg
compress_db:
XZ_OPT=-9 tar Jcvf database_dump.tar.xz ./database_dump/
@#tar -I "pxz -9" -cvf database_dump.tar.xz ./database_dump/
decompress_db:
tar Jxvf database_dump.tar.xz
.PHONY: tests