Add just target for heaptrack
This commit is contained in:
parent
e8df9bf285
commit
39c91b9084
2 changed files with 9 additions and 0 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -3,6 +3,7 @@
|
|||
/debian/cosmic-files.substvars
|
||||
/debian/cosmic-files/
|
||||
/debian/files
|
||||
/heaptrack.*
|
||||
/target/
|
||||
/vendor.tar
|
||||
/vendor/
|
||||
|
|
|
|||
8
justfile
8
justfile
|
|
@ -73,6 +73,14 @@ run *args:
|
|||
test *args:
|
||||
cargo test {{args}}
|
||||
|
||||
heaptrack *args:
|
||||
#!/usr/bin/env bash
|
||||
set -ex
|
||||
rm -fv heaptrack.cosmic-files.*
|
||||
cargo heaptrack --profile release-with-debug --bin cosmic-files -- {{args}}
|
||||
zstd -dc < heaptrack.cosmic-files.*.raw.zst | /usr/lib/heaptrack/libexec/heaptrack_interpret | zstd -c > heaptrack.cosmic-files.zst
|
||||
heaptrack_gui heaptrack.cosmic-files.zst
|
||||
|
||||
# Installs files
|
||||
install:
|
||||
install -Dm0755 {{bin-src}} {{bin-dst}}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue