-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathjustfile
35 lines (24 loc) · 1 KB
/
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
watch:
cargo watch -x 'check --all-features --examples --tests'
test filter='':
cargo watch -x 'test {{filter}}'
test-anyhow:
cargo watch -x 'test --features=anyhow -- --nocapture'
bench:
RUST_LOG=info cargo watch -x 'run --release --example bench'
basic:
RUST_LOG=info cargo watch -x 'run --release --example basic'
routing:
RUST_LOG=info cargo watch -x 'run --release --example routing --features="router"'
routing_2:
RUST_LOG=info cargo watch -x 'run --release --example routing_2 --features="router"'
identity:
RUST_LOG=info cargo watch --ignore .cookie -x 'run --release --example identity --features="router identity"'
identity-login:
curl -v --cookie .cookie --cookie-jar .cookie --location localhost:9999/login/test
identity-hello:
curl -v --cookie .cookie localhost:9999/
identity-logout:
curl -v --cookie .cookie --cookie-jar .cookie --location localhost:9999/logout
clippy:
cargo watch -x '+nightly clippy --all-features -- -D warnings -Z unstable-options'