-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
34 lines (24 loc) · 1.26 KB
/
Copy pathMakefile
File metadata and controls
34 lines (24 loc) · 1.26 KB
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
# Все команды Python — через Pipenv (pipenv run), без системного pip.
PIPENV ?= pipenv
export PIPENV_VENV_IN_PROJECT=1
.PHONY: install tests-all diagrams prepare-cert-bundle certify-abu evaluate-score docker-build docker-up docker-down
# Установка зависимостей из Pipfile (виртуальное окружение в .venv/)
install:
$(PIPENV) install --dev
tests-all: install
$(PIPENV) run pytest -q src_starting_point/tests tests
diagrams:
JAVA_TOOL_OPTIONS=-Djava.awt.headless=true plantuml -tpng -o png docs/diagrams/context.puml docs/diagrams/sequence_mission.puml docs/diagrams/certification_pipeline.puml docs/diagrams/abu_v1_internal.puml docs/diagrams/tara_attack_numpy.puml docs/diagrams/tara_iso21434_overview.puml
# Оценка по 22 критериям (см. docs/contest_regulations.md, docs/criteria_rubric.md); raw до 66, итог 10–20.
evaluate-score: install
$(PIPENV) run python scripts/evaluate_contest_score.py
prepare-cert-bundle:
bash scripts/prepare_certification_bundle.sh
certify-abu: install prepare-cert-bundle
$(PIPENV) run python scripts/run_certification.py
docker-build:
bash scripts/docker_build.sh
docker-up:
bash scripts/docker_up.sh
docker-down:
bash scripts/docker_down.sh