A simple, humane, typed key-value storage solution.
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.
rkv/run-all-examples.sh

14 lines
264 B

#!/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