blob: 8f2382d2b1cd27c7044f1d4a2078fd790cb63613 (
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
|
# 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
# Render sequences to SVG files
./target/release/generate --render 5
# Render with custom output directory
./target/release/generate --render --output-dir my-output 5
# Render with batch processing (for large datasets)
./target/release/generate --render --max-batch-size 50 6
# Render and keep temporary .ly files for debugging
./target/release/generate --render --keep-temp 5
# Combine rendering with sorting options
./target/release/generate 5 --render --neg-first-outer --output-dir output
# Simple benchmarking
/usr/bin/time --verbose ./target/release/generate --pretty 6 > /dev/null
# Install the CLI tool globally
cargo install --path morphology-cli
|