Add mock target for testing greeter

This commit is contained in:
Jeremy Soller 2024-05-07 09:03:44 -06:00
parent adb691704e
commit ef69fe83bf
No known key found for this signature in database
GPG key ID: D02FD439211AF56F
2 changed files with 19 additions and 8 deletions

View file

@ -55,6 +55,10 @@ check *args:
# Runs a clippy check with JSON message format
check-json: (check '--message-format=json')
mock:
cargo build --release --example server
cosmic-comp target/release/examples/server
# Run with debug logs
run *args:
env RUST_LOG=debug RUST_BACKTRACE=full cargo run --release {{args}}