
All checks were successful
/ test (pull_request) Successful in 3m43s
Also make the script non-executable, so it has to be run with a command like `sh run-examples.sh`. This makes the shebang line superfluous.
10 lines
No EOL
313 B
Bash
10 lines
No EOL
313 B
Bash
# 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 |