-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
justfile
46 lines (31 loc) · 1.02 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
36
37
38
39
40
41
42
43
44
45
46
check:
cargo check --workspace --all-targets
check-wasm32:
cargo check --workspace --all-features --lib --target wasm32-unknown-unknown
check-fmt:
cargo fmt --all -- --check
clippy:
cargo clippy --workspace --all-targets --all-features -- -D warnings -W clippy::all
test:
cargo test --workspace --all-targets --all-features
test-docs:
cargo test --workspace --doc
trunk-build:
cd nes-studio-app && trunk build --release
trunk-watch:
cd nes-studio-app && trunk watch
qa: check check-wasm32 check-fmt clippy test test-docs trunk-build
scripts/prepare_dist_sw_js.py
fmt:
cargo fmt --all
clippy-fix:
cargo clippy --fix --workspace --all-targets --all-features --allow-dirty
fix: fmt clippy-fix
git-push: qa
git push
shuttle-deploy name="nes-studio": qa
cargo shuttle deploy --name {{name}} --no-test
shuttle-deploy-test:
just shuttle-deploy "nes-studio-test"
shuttle-watch name="nes-studio":
cargo watch -x 'shuttle run --name {{name}}' -i 'nes-studio-app,Cargo.lock'