refactor: better sentence generator
This commit is contained in:
+7
-4
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user