forked from DioxusLabs/blitz
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathjustfile
More file actions
80 lines (53 loc) · 2.46 KB
/
justfile
File metadata and controls
80 lines (53 loc) · 2.46 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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
## Build/lint commands
check:
cargo check --workspace
clippy:
cargo clippy --workspace
fmt:
cargo fmt --all
small:
cargo build --profile small -p counter --no-default-features --features cpu,system_fonts
## WPT test runner
wpt *ARGS:
cargo run --release --package wpt {{ARGS}}
browser *ARGS:
cargo run --release --package browser {{ARGS}}
browser-with-perf:
cargo run --release --package browser --features log_frame_times,log_phase_times
browskia:
cargo run -rp browser --no-default-features --features skia,floats,incremental,cookies,cache,log_frame_times,log_phase_times
## Browser
screenshot *ARGS:
cargo run --release --example screenshot {{ARGS}}
open *ARGS:
cargo run --release --package readme --features log_frame_times,log_phase_times {{ARGS}}
dev *ARGS:
cargo run --package readme --features log_frame_times,log_phase_times {{ARGS}}
incr *ARGS:
cargo run --release --package readme --features incremental,comrak,floats,log_frame_times,log_phase_times {{ARGS}}
cpu *ARGS:
cargo run --release --package readme --no-default-features --features cpu,comrak,incremental,floats,log_frame_times,log_phase_times {{ARGS}}
hybrid *ARGS:
cargo run --release --package readme --no-default-features --features hybrid,comrak,incremental,floats,log_frame_times,log_phase_times {{ARGS}}
skia *ARGS:
cargo run --release --package readme --no-default-features --features skia,comrak,incremental,floats,log_frame_times,log_phase_times {{ARGS}}
skia-pixels *ARGS:
cargo run --release --package readme --no-default-features --features skia-pixels,comrak,floats,incremental,log_frame_times,log_phase_times {{ARGS}}
skia-softbuffer *ARGS:
cargo run --release --package readme --no-default-features --features skia-softbuffer,comrak,floats,incremental,log_frame_times,log_phase_times {{ARGS}}
## TodoMVC commands
todomvc *ARGS:
cargo run --release --package todomvc {{ARGS}}
todoskia *ARGS:
cargo run --release --package todomvc {{ARGS}} --no-default-features --features skia
todoandroid *ARGS:
export CARGO_APK_RELEASE_KEYSTORE="$HOME/.android/debug.keystore"
export CARGO_APK_RELEASE_KEYSTORE_PASSWORD="android"
cargo apk run --lib --no-default-features --features skia -p todomvc
counterandroid *ARGS:
export CARGO_APK_RELEASE_KEYSTORE="$HOME/.android/debug.keystore"
export CARGO_APK_RELEASE_KEYSTORE_PASSWORD="android"
cargo apk run --lib --no-default-features --features skia -p counter
## Ops
bump *ARGS:
cargo run --release --package bump {{ARGS}}