refactor: separate tools from main code
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user