-
Notifications
You must be signed in to change notification settings - Fork 0
/
justfile
44 lines (30 loc) · 851 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
set windows-shell := ["C:/tools/cygwin/bin/sh.exe","-c"]
set positional-arguments
default:
just --list --unsorted
book:
mdbook serve
install *args:
cargo install --path ./cli {{args}}
test *args:
cargo test --test test_sweet --features sweet/bevy -- --parallel {{args}}
test-w *args:
just watch just test -w {{args}}
publish-all:
just publish sweet_macros | true
just publish sweet | true
just publish sweet-cli | true
publish crate *args:
cargo publish -p {{crate}} --allow-dirty --no-verify {{args}}
sleep 2
test-all-wasm *args:
just test-wasm sweet --cargo=--features=bevy {{args}}
test-wasm crate *args:
cargo run -p sweet-cli -- -p {{crate}} --example test_{{crate}}_wasm {{args}}
watch *command:
forky watch \
-w '**/*.rs' \
-i '{.git,target,html}/**' \
-i '**/mod.rs' \
-i '**/*_g.rs' \
-- {{command}}