-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathjustfile
More file actions
53 lines (35 loc) · 1.16 KB
/
justfile
File metadata and controls
53 lines (35 loc) · 1.16 KB
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
51
52
53
default:
just --list
# -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
run *flags="":
cargo run --release --package hyper-client-simulator -- {{ flags }}
dev *flags="":
cargo run --package hyper-client-simulator -- {{ flags }}
run-nix *flags="":
nix run .#hyper-client-simulator -- {{ flags }}
# -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
clippy:
cargo clippy --all-targets --all-features -- -D warnings
clippy-watch:
fd --type f --extension rs | entr -n -r just clippy
test:
cargo nextest run --no-tests warn
check: clippy test
fmt:
cargo fmt
# -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
dist-init *args="":
dist init {{ args }}
dist-generate *args="":
dist generate {{ args }}
dist-plan *args="":
dist plan {{ args }}
dist-build *args="":
dist build {{ args }}
# -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
fetch-cookie username="simulator-user" server-url="http://localhost:8081":
cargo run -q -- cookie --url {{ server-url }} --user {{ username }}
cachix-push:
nix build --no-link --print-out-paths \
.#hyper-client-simulator \
| cachix push hyper-video