mirror of
https://github.com/fdehau/tui-rs.git
synced 2024-10-30 21:20:22 +00:00
15 lines
277 B
Bash
Executable File
15 lines
277 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# Run all examples in examples directory
|
|
|
|
set -eu -o pipefail
|
|
|
|
for file in examples/*.rs; do
|
|
name=$(basename ${file//.rs/})
|
|
if [[ "$name" == "rustbox" ]]; then
|
|
cargo run --features rustbox --example "$name"
|
|
else
|
|
cargo run --example "$name"
|
|
fi
|
|
done
|