refactor: better sentence generator

This commit is contained in:
2026-11-05 22:28:07 +01:00
parent d2d2095081
commit e6e59665e6
7 changed files with 102 additions and 28 deletions
+7 -4
View File
@@ -43,7 +43,7 @@ print-%:
# ACTIONS
.PHONY: init
init: uv-sync git-submodule-init git-submodule-update ## install project
init: uv-sync git-submodule-init git-submodule-update sentences ## install project
.PHONY: update
update: uv-upgrade ## update project dependencies
@@ -55,10 +55,13 @@ format: ruff-fix ruff-format ## format project
lint: ruff ruff-format-check ty ## lint project
.PHONY: gen-img
gen-img: uv-run-invar-mode-gen-img
gen-img: uv-run-invar-mode-gen-img ## generate resources/*.png
.PHONY: debug-img
debug-img: uv-run-invar-mode-debug-img
debug-img: uv-run-invar-mode-debug-img ## debug i2c screen with mock data
.PHONY: sentences
sentences: uv-run-invar-mode-sentences ## generate project/inc_sentences.glsl
.PHONY: rasp-init
rasp-init: rasp-chmod-opt rasp-rsync rasp-unmount ## init raspberry
@@ -68,7 +71,7 @@ rasp-install: rasp-install-pal ## setup raspberry
.PHONY: rasp-install-%
rasp-install-%: ## setup raspberry (PAL/NTSC/HDMI)
$(MAKE) git-submodule-update rasp-rsync rasp-setup-config-$* rasp-setup-cmdline-$* rasp-setup-start-$* rasp-unmount
$(MAKE) git-submodule-update sentences rasp-rsync rasp-setup-config-$* rasp-setup-cmdline-$* rasp-setup-start-$* rasp-unmount
.PHONY: rasp-reset
rasp-reset: rasp-rsync rasp-setup-config-hdmi rasp-reset-cmdline rasp-reset-start rasp-unmount ## reset raspberry to console mode