diff options
Diffstat (limited to 'docs/TESTING.md')
| -rw-r--r-- | docs/TESTING.md | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/docs/TESTING.md b/docs/TESTING.md index 613cd08..c32ac22 100644 --- a/docs/TESTING.md +++ b/docs/TESTING.md | |||
| @@ -266,3 +266,20 @@ terminal client; a saved login from one signs in the other. | |||
| 266 | the row is upgraded to bcrypt. | 266 | the row is upgraded to bcrypt. |
| 267 | - Spin several times and confirm `plays` grows by one row per spin while | 267 | - Spin several times and confirm `plays` grows by one row per spin while |
| 268 | `users.balance` changes by `winnings - bet`. | 268 | `users.balance` changes by `winnings - bet`. |
| 269 | |||
| 270 | ## Packaging checklist | ||
| 271 | |||
| 272 | 1. Set the version in `Cargo.toml` and `gui/Cargo.toml` (same MAJOR.MINOR), | ||
| 273 | run `cargo test --workspace`, and commit. `publish.sh` refuses a dirty tree | ||
| 274 | because the site links the committed git history as the GPL source. | ||
| 275 | 2. `./scripts/publish.sh` (add `DEST=` and `URL_BASE=` to stage elsewhere). It | ||
| 276 | builds the GUI with `gui-release`, the terminal clients and servers, and | ||
| 277 | renders the bash/PowerShell installers with each app's SHA-256. | ||
| 278 | 3. `php -S 127.0.0.1:8899 -t <staging>` and | ||
| 279 | `./scripts/deploy.sh <staging> http://127.0.0.1:8899/` to upload and verify | ||
| 280 | every app, installer, client and server against the page's checksums. | ||
| 281 | 4. On a clean user account: download an app with its installer, run the | ||
| 282 | installer, and launch the new menu entry. The installer must refuse a | ||
| 283 | corrupted download. | ||
| 284 | 5. Repeat on Windows for the `.ps1` installer and the Start-menu shortcut. | ||
| 285 | |||
