mirror of https://github.com/nextgraph-org/rkv.git
parent
197118f404
commit
911d75d837
@ -0,0 +1,14 @@ |
|||||||
|
#!/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 |
Loading…
Reference in new issue