mirror of
https://github.com/ratatui-org/ratatui
synced 2024-12-11 22:02:49 +00:00
14 lines
277 B
Bash
Executable file
14 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
|