Skip to content

Commit

Permalink
add script to run all examples
Browse files Browse the repository at this point in the history
  • Loading branch information
rksm committed Aug 15, 2022
1 parent 7e727ab commit 99525e9
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions scripts/run-all-examples.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
#!/usr/bin/env bash

function run_example {
dir=$1
pushd $dir
echo "--------- $dir ------------"
cargo runcc -c
popd
}

run_example examples/minimal
run_example examples/reload-feature
run_example examples/all-options

run_example examples/reload-events
run_example examples/serialized-state
run_example examples/bevy

0 comments on commit 99525e9

Please sign in to comment.