vulkano/examples/run_all.sh

12 lines
321 B
Bash
Raw Normal View History

2021-03-29 15:22:33 +00:00
#!/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