docs: document reinstall step (cargo install --path . --force) + agent notes

This commit is contained in:
Sebastian
2026-09-10 19:43:55 +02:00
parent c406e31a1e
commit a732eb3973
2 changed files with 18 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
# dap-tui — agent notes
- Run `cargo test` after any change (parser, engine, and TestBackend UI tests live in-tree).
- **After every code change, reinstall the binary** so `dap-tui` on PATH picks it up:
```bash
cargo install --path . --force
```
Verify the install with:
```bash
sha256sum ~/.cargo/bin/dap-tui target/release/dap-tui # hashes must match
```
- Commit and push changes to the Gitea remote (`origin`) when done.
See `../AGENTS.md` for the global rules (sudo/pkexec, Gitea push, etc.).
+4
View File
@@ -34,6 +34,10 @@ cargo build --release
./target/release/dap-tui # uses ~/.config/dap-sync/config.toml
./target/release/dap-tui --config /path/to/config.toml
./target/release/dap-tui --skip-mirror # skip the StorageBox → local mirror step
# install/update the `dap-tui` command (~/.cargo/bin) with the new build
cargo install --path . --force
dap-tui
```
## Keybindings