-
Notifications
You must be signed in to change notification settings - Fork 189
Expand file tree
/
Copy pathjustfile
More file actions
96 lines (63 loc) · 2.91 KB
/
Copy pathjustfile
File metadata and controls
96 lines (63 loc) · 2.91 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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
## 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 --features log-frame-times,log-phase-times {{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,cookies,cache,log-frame-times,log-phase-times
## Browser
screenshot *ARGS:
cargo run --release --example screenshot {{ARGS}}
open *ARGS:
cargo run --release --package rdme --features log-frame-times,log-phase-times {{ARGS}}
openskia *ARGS:
cargo run --release --package rdme --no-default-features --features skia,comrak,floats,log-frame-times,log-phase-times {{ARGS}}
opencpu *ARGS:
cargo run --release --package rdme --no-default-features --features cpu,comrak,floats,log-frame-times,log-phase-times {{ARGS}}
dev *ARGS:
cargo run --package rdme --features log-frame-times,log-phase-times {{ARGS}}
cpu *ARGS:
cargo run --release --package rdme --no-default-features --features cpu,comrak,floats,log-frame-times,log-phase-times {{ARGS}}
hybrid *ARGS:
cargo run --release --package rdme --no-default-features --features hybrid,comrak,floats,log-frame-times,log-phase-times {{ARGS}}
skia *ARGS:
cargo run --release --package rdme --no-default-features --features skia,comrak,floats,log-frame-times,log-phase-times {{ARGS}}
skia-pixels *ARGS:
cargo run --release --package rdme --no-default-features --features skia-pixels,comrak,floats,log-frame-times,log-phase-times {{ARGS}}
skia-softbuffer *ARGS:
cargo run --release --package rdme --no-default-features --features skia-softbuffer,comrak,floats,log-frame-times,log-phase-times {{ARGS}}
## 7GUIs
seven_guis *ARGS:
cargo run --release --package seven_guis --bin seven_guis_native {{ARGS}}
## TodoMVC commands
todomvc *ARGS:
cargo run --release --package todomvc --bin todomvc_native {{ARGS}}
todoskia *ARGS:
cargo run --release --package todomvc --bin todomvc_native {{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
## WASM
wasm-build APP *ARGS:
cd examples/{{APP}} && trunk build --release --public-url ./ {{ARGS}}
wasm-serve APP *ARGS:
cd examples/{{APP}} && trunk serve --release --public-url ./ {{ARGS}}
## Ops
bump *ARGS:
cargo run --release --package bump {{ARGS}}