refactor: separate tools from main code

This commit is contained in:
2026-11-05 22:00:24 +01:00
parent dad509768b
commit 82ccc1d2e8
6 changed files with 123 additions and 92 deletions
+10
View File
@@ -54,6 +54,12 @@ format: ruff-fix ruff-format ## format project
.PHONY: lint
lint: ruff ruff-format-check ty ## lint project
.PHONY: gen-img
gen-img: uv-run-invar-mode-gen-img
.PHONY: debug-img
debug-img: uv-run-invar-mode-debug-img
.PHONY: rasp-init
rasp-init: rasp-chmod-opt rasp-rsync rasp-unmount ## init raspberry
@@ -77,6 +83,10 @@ uv-sync: ## uv sync
uv-upgrade: ## uv sync upgrade
$(UV) sync --active --upgrade
.PHONY: uv-run-invar-mode-%
uv-run-invar-mode-%: .venv ## uv run forge-invar --mode=(tool)
$(UV) run --active forge-invar --mode=$*
.PHONY: ruff
ruff: .venv ## ruff check
$(RUFF) check