-
Notifications
You must be signed in to change notification settings - Fork 0
/
justfile
37 lines (28 loc) · 2.07 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
generate_and_test: generate test
generate:
cargo run -p hashmoji_generator
# Test a bunch of different configurations.
test:
RUSTFLAGS="-D warnings" cargo test
RUSTFLAGS="-D warnings" cargo test --lib --no-default-features
RUSTFLAGS="-D warnings" cargo test --lib --no-default-features --features alloc
RUSTFLAGS="-D warnings" cargo run --example iter --no-default-features --features std,face-sleepy | grep -v 😴
RUSTFLAGS="-D warnings" cargo run --example iter --no-default-features --features std,additive,face-sleepy | grep 😴 | grep -v 🚗
RUSTFLAGS="-D warnings" cargo run --example iter --no-default-features --features std,travel-and-places | grep 🌈 | grep -v 🚗
RUSTFLAGS="-D warnings" cargo run --example iter --no-default-features --features std,additive,travel-and-places | grep 🚗 | grep -v 👌
RUSTFLAGS="-D warnings" cargo run --example iter --no-default-features --features std,v0006 | grep 🚀 | grep -v 🏳️
RUSTFLAGS="-D warnings" cargo run --example iter --no-default-features --features std,v1200 | grep 🥱 | grep -v 🧑🦰
RUSTFLAGS="-D warnings" cargo run --example iter --no-default-features --features std,skin-tones | grep 🖖 | grep -v 🖖🏻
RUSTFLAGS="-D warnings" cargo run --example iter --no-default-features --features std,additive,person,skin-tones | grep 👶🏽
RUSTFLAGS="-D warnings" cargo run --example iter --no-default-features --features std,genders | grep 🧔 | grep -v 🧔♀️
RUSTFLAGS="-D warnings" cargo run --example iter --no-default-features --features std,additive,person | grep 🧔 | grep -v 🧔♀️
RUSTFLAGS="-D warnings" cargo run --example iter --no-default-features --features std,additive,person,genders | grep 👧 | grep 🧔♀️
cargo clippy -- -D warnings
cargo clippy --no-default-features -- -D warnings
cargo clippy --no-default-features --features alloc -- -D warnings
# Run all the examples.
examples:
cargo run --example iter
cargo run --example full
generate-readme:
cargo readme --no-license -o README.md