
In the process, spruce up our realization diagnostics logging and factor out some of the repetitive code in the examples, because we're already changing those parts of the code to adapt them to the new encapsulation. This commit changes the example output format. I've checked by hand that the output is rearranged but not meaningfully changed.
12 lines
No EOL
324 B
Bash
Executable file
12 lines
No EOL
324 B
Bash
Executable file
#!/bin/sh
|
|
|
|
# run all Cargo examples, as described here:
|
|
#
|
|
# Karol Kuczmarski. "Add examples to your Rust libraries"
|
|
# http://xion.io/post/code/rust-examples.html
|
|
#
|
|
|
|
cargo run --example irisawa-hexlet; echo
|
|
cargo run --example three-spheres; echo
|
|
cargo run --example point-on-sphere; echo
|
|
cargo run --example kaleidocycle |