blob: 6a20518a04a42152ff7edf1931531fa853e44a16 (
plain)
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
|
# Build everything
cargo build --all
# Build just the library
cargo build -p meta_affine
# Build just the CLI
cargo build -p morphology-cli
# Run tests
cargo test --all
# Run the generate command
cargo run --bin generate 5
# Run the generate command with pretty printing
cargo run --bin generate -- --pretty 5
# Sort with negative-first outer precedence
cargo run --bin generate 5 --neg-first-outer
# Sort with negative-first inner precedence
cargo run --bin generate 5 --neg-first-inner
# Sort with breadth-first sorting
cargo run --bin generate 5 --breadth-first
# Sort with backward sorting direction
cargo run --bin generate 5 --backward
# Sort with interpolated length sorting
cargo run --bin generate 5 --interpolate-length
# Run the release version cli
./target/release/generate --pretty 6
# Simple benchmarking
/usr/bin/time --verbose ./target/release/generate --pretty 6 > /dev/null
# Install the CLI tool globally
cargo install --path morphology-cli
|