mirror of
https://github.com/logos-messaging/libchat.git
synced 2026-02-10 00:43:09 +00:00
feat: use just for quick tasks.
This commit is contained in:
parent
5a98258ff1
commit
93af906ea9
27
README.md
27
README.md
@ -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
|
||||
```
|
||||
|
||||
|
||||
@ -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
13
justfile
Normal 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
|
||||
Loading…
x
Reference in New Issue
Block a user