Files
Sprimo/justfile
2026-02-13 09:57:08 +08:00

42 lines
861 B
Makefile

set shell := ["powershell.exe", "-NoLogo", "-Command"]
python := "python"
npm := "npm"
check:
cargo check --workspace
test:
cargo test --workspace
build-release:
cargo build --release -p sprimo-app
package-win:
{{python}} scripts/package_windows.py package
smoke-win:
{{python}} scripts/package_windows.py smoke
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