Add dev target
This commit is contained in:
parent
e11c9dee55
commit
4650e1434d
1 changed files with 5 additions and 0 deletions
5
justfile
5
justfile
|
|
@ -46,6 +46,11 @@ check *args:
|
|||
# Runs a clippy check with JSON message format
|
||||
check-json: (check '--message-format=json')
|
||||
|
||||
dev *args:
|
||||
cargo fmt
|
||||
cargo build --profile release-with-debug
|
||||
RUST_BACKTRACE=1 RUST_LOG=cosmic_player=info target/release-with-debug/cosmic-player {{args}}
|
||||
|
||||
# Profile memory usage with heaptrack
|
||||
heaptrack:
|
||||
cargo heaptrack --profile release-with-debug
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue