forked from StudioInfinity/dyna3
Reduce repetition in run-examples.sh
This commit is contained in:
parent
f8e9624fe3
commit
edeb080745
1 changed files with 8 additions and 4 deletions
|
@ -10,7 +10,11 @@
|
||||||
# find the manifest file for the application prototype
|
# find the manifest file for the application prototype
|
||||||
MANIFEST="$(dirname -- $0)/Cargo.toml"
|
MANIFEST="$(dirname -- $0)/Cargo.toml"
|
||||||
|
|
||||||
cargo run --manifest-path $MANIFEST --example irisawa-hexlet; echo
|
# set up the command that runs each example
|
||||||
cargo run --manifest-path $MANIFEST --example three-spheres; echo
|
RUN_EXAMPLE="cargo run --manifest-path $MANIFEST --example"
|
||||||
cargo run --manifest-path $MANIFEST --example point-on-sphere; echo
|
|
||||||
cargo run --manifest-path $MANIFEST --example kaleidocycle
|
# run the examples
|
||||||
|
$RUN_EXAMPLE irisawa-hexlet; echo
|
||||||
|
$RUN_EXAMPLE three-spheres; echo
|
||||||
|
$RUN_EXAMPLE point-on-sphere; echo
|
||||||
|
$RUN_EXAMPLE kaleidocycle
|
Loading…
Add table
Add a link
Reference in a new issue