forked from StudioInfinity/dyna3
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:
parent
68d6cc1645
commit
2137284358
1 changed files with 0 additions and 2 deletions
10
app-proto/run-examples.sh
Normal file
10
app-proto/run-examples.sh
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue