mirror of https://github.com/nextgraph-org/rkv.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
264 B
15 lines
264 B
6 years ago
|
#!/bin/bash
|
||
|
|
||
|
set -e
|
||
|
|
||
|
cargo build --examples
|
||
|
|
||
|
for file in examples/*; do
|
||
|
filename=$(basename ${file})
|
||
|
extension=${filename##*.}
|
||
|
example_name=${filename%.*}
|
||
|
if [[ "${extension}" = "rs" ]]; then
|
||
|
cargo run --example ${example_name}
|
||
|
fi
|
||
|
done
|