Add: tauri frontend as bevy alternative

This commit is contained in:
DaZuo0122
2026-02-13 09:57:08 +08:00
parent b0f462f63e
commit 3c3ca342c9
33 changed files with 11798 additions and 106 deletions

View File

@@ -1,6 +1,7 @@
set shell := ["powershell.exe", "-NoLogo", "-Command"]
python := "python"
npm := "npm"
check:
cargo check --workspace
@@ -19,3 +20,22 @@ smoke-win:
qa-validate:
{{python}} scripts/qa_validate.py
check-runtime-core:
cargo check -p sprimo-runtime-core
check-tauri:
cargo check -p sprimo-tauri
install-tauri-ui:
Push-Location frontend/tauri-ui; {{npm}} install; Pop-Location
build-tauri-ui:
Push-Location frontend/tauri-ui; {{npm}} run build; Pop-Location
dev-tauri-ui:
Push-Location frontend/tauri-ui; {{npm}} run dev; Pop-Location
run-tauri:
Push-Location frontend/tauri-ui; {{npm}} run build; Pop-Location
cargo run -p sprimo-tauri