Files
Sprimo/justfile
2026-02-13 11:22:46 +08:00

63 lines
1.4 KiB
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
build-release-bevy:
cargo build --release -p sprimo-app
build-release-tauri:
just build-tauri-ui
cargo build --release -p sprimo-tauri
package-win-bevy:
{{python}} scripts/package_windows.py package --frontend bevy
smoke-win-bevy:
{{python}} scripts/package_windows.py smoke --frontend bevy
package-win-tauri:
just build-tauri-ui
{{python}} scripts/package_windows.py package --frontend tauri
smoke-win-tauri:
just build-tauri-ui
{{python}} scripts/package_windows.py smoke --frontend tauri
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