vulkano/examples/run_all.sh
marc0246 4c515a81cb
Improve the examples' directory structure (#2375)
* Make each example its own workspace member

* Fix runtime-shader example

* Fix shader-include example

* Fix teapot example

* Fix `run_all.sh`

* Fix output files getting saved in cwd

* Fix spelling for examples readme filename

* Remove wrong leftover dependencies for gl-interop

* Fix pipeline-cache example

* Clearer .gitignore

* Help cargo be less useless
2023-10-29 18:46:14 +01:00

12 lines
325 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 --bins
exa -F . | rg '/$' | sd '/' '' | rargs cargo run --bin {}
rm -f pipeline-caching/pipeline_cache.bin