-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathjustfile
More file actions
43 lines (31 loc) · 1.25 KB
/
justfile
File metadata and controls
43 lines (31 loc) · 1.25 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
gen-readme:
cargo reedme -p protify
check-asm-output:
cargo asm --release -p protify --test code_elimination trigger_validation
[working-directory(".")]
test-all: test-shared-schemas test-schemas test-no-std test-proc-macro test-code-elimination
cargo test -p protify -- --nocapture
test-code-elimination:
cargo test -p protify --release code_elimination
test-proc-macro:
cargo test -p protify-proc-macro -- --nocapture
test-no-std:
cargo test --features reflection -p test-no-std -- --nocapture
cargo test -p test-no-std -- --nocapture
test-schemas:
cargo test -p test-schemas -- --nocapture
test-shared-schemas: gen-schemas
cargo test -p test-reflection -- --nocapture
cargo test --features reflection -p test-reflection -- --nocapture
gen-schemas:
cargo run --bin test-schemas
[working-directory(".")]
expand-reflection: gen-schemas
cargo expand --features reflection -p test-reflection > expanded.rs
test-renders:
cargo test -p test-schemas rendering_test -- -q --nocapture
release version exec="": test-all gen-readme
./pre-release.sh {{ version }} {{ exec }}
cargo release {{ version }} {{ exec }}
docs: gen-readme
RUSTDOCFLAGS="--cfg docsrs" cargo +nightly doc --no-deps -p protify --all-features --open