-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.justfile
52 lines (38 loc) · 927 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
51
52
# https://github.com/casey/just
set windows-shell := ["powershell.exe", "-NoLogo", "-Command"]
alias r := run
alias b := build
alias br := build-release
alias rr := release
alias rel := release
alias t := test
alias ti := test-integration
alias c := clippy
alias d := dummy
alias ws := websocket
alias wsd := websocket-dummy
run *ARGS:
cargo run {{ARGS}}
build *ARGS:
cargo build {{ARGS}}
release:
cargo run --release --features portable
build-release:
cargo build --release --features portable
test:
cargo test
test-integration *ARGS:
cargo test -- --ignored --nocapture --test-threads=1 {{ARGS}}
clippy:
cargo clippy --all-targets --all-features
# Shortcuts for subcommands
ble:
cargo run -- ble
dummy *ARGS:
cargo run -- dummy {{ARGS}}
vhs:
cargo run -- dummy --vhs -s 5.0
websocket *ARGS:
cargo run -- ws {{ARGS}}
websocket-dummy *ARGS:
cargo run --example websocket_dummy -- {{ARGS}}