docs: document reinstall step (cargo install --path . --force) + agent notes
This commit is contained in:
@@ -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.).
|
||||||
@@ -34,6 +34,10 @@ cargo build --release
|
|||||||
./target/release/dap-tui # uses ~/.config/dap-sync/config.toml
|
./target/release/dap-tui # uses ~/.config/dap-sync/config.toml
|
||||||
./target/release/dap-tui --config /path/to/config.toml
|
./target/release/dap-tui --config /path/to/config.toml
|
||||||
./target/release/dap-tui --skip-mirror # skip the StorageBox → local mirror step
|
./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
|
## Keybindings
|
||||||
|
|||||||
Reference in New Issue
Block a user