Give the run-examples script a shell extension

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.
This commit is contained in:
Aaron Fenyes 2025-07-15 21:18:17 -07:00
parent 68d6cc1645
commit 2137284358

10
app-proto/run-examples.sh Normal file
View file

@ -0,0 +1,10 @@
# 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