vulkano/examples/run_all.sh
2021-03-29 22:22:33 +07:00

12 lines
321 B
Bash
Executable File

#!/bin/bash
set -e
# This script builds and runs all the examples
# It is NOT headless
# Human input is required to close all the windows
# Human monitoring is also required to check for errors in stdout
cargo build
exa -F src/bin | rg '(\.rs|/)$' | sd '(\.rs|/)' '' | rargs cargo run --bin {}
rm -f pipeline_cache.bin