mirror of
https://github.com/kdheepak/taskwarrior-tui.git
synced 2025-08-24 05:26:42 +02:00
docs: Update developer guide 📚
This commit is contained in:
parent
d5d37ee35c
commit
5b0ae7eab6
1 changed files with 16 additions and 4 deletions
|
@ -2,7 +2,7 @@
|
|||
|
||||
## Running tests
|
||||
|
||||
```
|
||||
```bash
|
||||
git clone https://github.com/kdheepak/taskwarrior-tui
|
||||
cd taskwarrior-tui
|
||||
|
||||
|
@ -14,13 +14,13 @@ cargo test
|
|||
|
||||
## Running debug build
|
||||
|
||||
```
|
||||
```bash
|
||||
cargo run
|
||||
```
|
||||
|
||||
## Running release build
|
||||
|
||||
```
|
||||
```bash
|
||||
cargo run --release
|
||||
```
|
||||
|
||||
|
@ -28,10 +28,22 @@ cargo run --release
|
|||
|
||||
If you want to test the `test_taskwarrior_timing` function in `src/app.rs`:
|
||||
|
||||
```
|
||||
```bash
|
||||
cargo test -- app::tests::test_taskwarrior_timing --nocapture
|
||||
```
|
||||
|
||||
## Getting logs
|
||||
|
||||
```bash
|
||||
export TASKWARRIOR_TUI_LOG_LEVEL=debug
|
||||
taskwarrior-tui
|
||||
|
||||
# OR
|
||||
|
||||
export TASKWARRIOR_TUI_LOG_LEVEL=trace
|
||||
cargo run
|
||||
```
|
||||
|
||||
## Contributing to documentation
|
||||
|
||||
See `docs/` folder in the repository: <https://github.com/kdheepak/taskwarrior-tui>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue