Add: just commands for release build
This commit is contained in:
@@ -23,13 +23,24 @@ Use `just` for command entry:
|
||||
```powershell
|
||||
just check
|
||||
just test
|
||||
just build-release
|
||||
just package-win
|
||||
just smoke-win
|
||||
just build-release-bevy
|
||||
just package-win-bevy
|
||||
just smoke-win-bevy
|
||||
just build-release-tauri
|
||||
just package-win-tauri
|
||||
just smoke-win-tauri
|
||||
```
|
||||
|
||||
`just package-win` calls `scripts/package_windows.py package`.
|
||||
`just smoke-win` calls `scripts/package_windows.py smoke`.
|
||||
Compatibility aliases:
|
||||
|
||||
- `just build-release` -> Bevy release build.
|
||||
- `just package-win` -> Bevy package.
|
||||
- `just smoke-win` -> Bevy smoke package check.
|
||||
|
||||
Packaging script target selection:
|
||||
|
||||
- Bevy: `python scripts/package_windows.py package --frontend bevy`
|
||||
- Tauri: `python scripts/package_windows.py package --frontend tauri`
|
||||
|
||||
## Behavior Test Checklist (Packaged App)
|
||||
|
||||
@@ -37,8 +48,8 @@ Run tests from an unpacked ZIP folder, not from the workspace run.
|
||||
|
||||
1. Launch `sprimo-app.exe`; verify default sprite renders.
|
||||
2. Verify no terminal window appears when launching release build by double-click.
|
||||
3. Verify global hotkey recovery (`Ctrl+Alt+P`) forces interactive mode.
|
||||
4. Verify click-through and always-on-top toggles via API commands.
|
||||
3. Verify global hotkey recovery (`Ctrl+Alt+P`) forces visibility and top-most recovery.
|
||||
4. Verify `SetFlags` applies always-on-top and visibility via API commands.
|
||||
5. Verify `/v1/health` and `/v1/state` behavior with auth.
|
||||
6. Verify `SetSpritePack`:
|
||||
- valid pack switches runtime visuals
|
||||
@@ -46,6 +57,7 @@ Run tests from an unpacked ZIP folder, not from the workspace run.
|
||||
7. Restart app and verify persisted config behavior.
|
||||
8. Confirm overlay background is transparent (desktop visible behind non-sprite pixels).
|
||||
9. Confirm no magenta matte remains around sprite in default pack.
|
||||
10. Confirm default startup window footprint is reduced (416x416 before runtime pack resize).
|
||||
|
||||
## Test Log Template
|
||||
|
||||
@@ -90,6 +102,10 @@ Authoritative workflow: `docs/TAURI_RUNTIME_TESTING.md`.
|
||||
- `/v1/state` with auth
|
||||
- `/v1/command`
|
||||
- `/v1/commands`
|
||||
7. Verify tauri frameless drag:
|
||||
- left-mouse drag moves window
|
||||
- window remains non-resizable
|
||||
- moved position updates runtime snapshot `x/y` and persists after restart
|
||||
|
||||
### Packaged Mode (Required Once Tauri Packaging Exists)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user