Add mock target for testing greeter
This commit is contained in:
parent
adb691704e
commit
ef69fe83bf
2 changed files with 19 additions and 8 deletions
4
justfile
4
justfile
|
|
@ -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}}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue