feat: use just for quick tasks.

This commit is contained in:
kaichaosun 2026-01-30 15:56:51 +08:00
parent 5a98258ff1
commit 93af906ea9
No known key found for this signature in database
GPG Key ID: 223E0F992F4F03BF
3 changed files with 40 additions and 3 deletions

View File

@ -1,2 +1,27 @@
# libchat
Supporting library for Logos-chat
Supporting library for Logos-chat.
## Quick Start
Install [just](https://github.com/casey/just) to manage tasks.
On MacOS, you can install it via Homebrew:
```bash
brew install just
```
After that, run:
```bash
# Build
just build
# Run tests
just test
# Run all examples
just run-examples
```

View File

@ -20,8 +20,7 @@ Run examples,
```bash
cargo run --example double_ratchet_basic
cargo run --example storage_demo --features storage
cargo run --example storage_demo --features sqlcipher
cargo run --example storage_demo
```
Run Nim FFI example,

13
justfile Normal file
View File

@ -0,0 +1,13 @@
# The first receipt is default with build
build:
cargo build
test:
cargo test
# Run all examples
run-examples:
cargo run --example double_ratchet_basic
cargo run --example serialization_demo
cargo run --example storage_demo
cargo run --example out_of_order_demo