Skip to content

Commit

Permalink
chore(justfile): tweak justfile
Browse files Browse the repository at this point in the history
  • Loading branch information
iovis committed Dec 26, 2024
1 parent b9dd14b commit a2f39d7
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions justfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
bin := file_name(justfile_directory())
completions_dir := env_var("FDOTDIR") / "completions/muxi.fish"

# list recipes
Expand All @@ -12,7 +13,7 @@ default:
@install:
cargo install --path .

# Publish to creates.io
# Publish to crates.io
@publish: test
cargo audit
git push
Expand All @@ -39,14 +40,16 @@ open:
@console:
evcxr

# Upgrade dependencies
upgrade:
cargo upgrade --incompatible allow

# Profile with samply
profile args="":
profile *args:
cargo build --profile profiling
samply record target/profiling/muxi {{ args }}
samply record target/profiling/{{ bin }} {{ args }}

debug args="":
# Debug with rust-lldb
debug *args:
cargo build
rust-lldb -Q -- target/debug/muxi {{ args }}
rust-lldb -Q -- target/debug/{{ bin }} {{ args }}

0 comments on commit a2f39d7

Please sign in to comment.