69 lines
1.6 KiB
Makefile
69 lines
1.6 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
|
|
|
|
random-backend-test:
|
|
{{python}} scripts/random_backend_tester.py --duration-seconds 30 --health-check
|
|
|
|
random-backend-test-strict:
|
|
{{python}} scripts/random_backend_tester.py --duration-seconds 60 --health-check --strict
|
|
|
|
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
|