-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathjustfile
50 lines (34 loc) · 761 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
49
50
export RUST_BACKTRACE := "full"
export RUST_LOG := "none,gnostique=trace,sqlx=info,hyper=info,relm4=warn,nostr=warn"
@_default:
just --list
sync:
fossil update
upgrade:
cargo upgrade --incompatible
build:
cargo build
build--:
watchexec -e rs -- just build
run:
cargo run
run--:
watchexec -e rs -- just run
refresh: sync upgrade build
status:
fossil status --extra --changed --missing --deleted --added
diff path="":
fossil diff {{path}}
test name="":
cargo test {{name}} -- --nocapture
test-- name="":
watchexec -e rs -- just test {{name}}
show:
fossil timeline -n 1 --full -v
prepare:
cargo +nightly fmt
[no-exit-message]
check:
cargo +nightly fmt --check
rg term:
rg -trust {{term}}