-
Notifications
You must be signed in to change notification settings - Fork 0
/
justfile
48 lines (37 loc) · 848 Bytes
/
justfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
completions_dir := env_var("FDOTDIR") / "completions/muxi.fish"
# list recipes
default:
@just --list
# Run tests with nextest
@test:
cargo nextest run
# Install locally
@install:
cargo install --path .
# Publish to creates.io
@publish: test
cargo audit
git push
git push --tags # cargo-dist
cargo publish
# Run cargo-dist
dist:
cargo dist init
# Generate and install completions
completions:
cargo run -q -- completions fish > {{ completions_dir }}
# Compile and open docs for muxi and its dependencies
@docs:
cargo doc --open
# Open project in Github
open:
gh repo view --web
# Open an evcxr console
@console:
evcxr
upgrade:
cargo upgrade --incompatible allow
# Profile with samply
profile args:
cargo build --profile profiling
samply record target/profiling/muxi {{ args }}