blob: 60ea8fbe041beb0fb5d6aecfa4c859ef08a81514 (
plain)
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
|
ifdef PREFIX
PREFIX_ARGS='--prefix=$(PREFIX)'
else
PREFIX_ARGS=
endif
all:
python setup.py build
install:
python setup.py install $(PREFIX_ARGS)
dist-tarball:
python setup.py sdist --formats=bztar
format:
ruff format .
check-format:
ruff check .
check:
PYTHONPATH=$(PYTHONPATH):./test:./cerbero; trial test
make check-format
coverage:
rm -rf _trial_temp
PYTHONPATH=$(PYTHONPATH):./test:./cerbero; trial --coverage test
make show-coverage
show-coverage:
python tools/show-coverage.py _trial_temp/coverage/cerbero.*
|