1
0
mirror of https://github.com/emilk/egui.git synced 2026-06-26 22:53:14 -04:00

Rename sh/ folder to scripts/

This commit is contained in:
Emil Ernerfeldt
2023-04-18 17:10:52 +02:00
parent 69b568aeb4
commit 03c1a05e49
14 changed files with 9 additions and 9 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