This commit is contained in:
nora 2023-04-18 15:38:14 +02:00
parent 12163d1338
commit 550b1644cb
363 changed files with 84081 additions and 16 deletions

View file

@ -0,0 +1,13 @@
#!/usr/bin/env bash
# This script generates screenshots for all the examples in examples/
set -eu
script_path=$( cd "$(dirname "${BASH_SOURCE[0]}")" ; pwd -P )
cd "$script_path/.."
cd examples
for EXAMPLE_NAME in $(ls -1d */ | sed 's/\/$//'); do
if [ ${EXAMPLE_NAME} != "hello_world_par" ]; then
EFRAME_SCREENSHOT_TO="$EXAMPLE_NAME/screenshot.png" cargo run -p $EXAMPLE_NAME
fi
done