-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
38 lines (27 loc) · 787 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
export PROJECT := tuxrun
export TUXPKG_MIN_COVERAGE := 96
export TUXPKG_FLAKE8_OPTIONS := --ignore=E203,E501,W503
check: typecheck test spellcheck stylecheck
include $(shell tuxpkg get-makefile)
.PHONY: tags
stylecheck: style flake8
spellcheck:
codespell \
-I codespell-ignore-list \
--check-filenames \
--skip '.git,public,dist,*.sw*,*.pyc,tags,*.json,.coverage,htmlcov,*.jinja2,*.yaml'
integration:
python3 test/integration.py --devices "qemu-*" --tests ltp-smoke
python3 test/integration.py --devices "fvp-aemva" --tests ltp-smoke
doc: docs/index.md
mkdocs build
docs/index.md: README.md scripts/readme2index.sh
scripts/readme2index.sh $@
doc-serve:
mkdocs serve
flit = flit
publish-pypi:
$(flit) publish
tags:
ctags -R $(PROJECT)/ test/
release: integration