mirror of
https://github.com/Noratrieb/game-wip-dontplay.git
synced 2026-01-16 12:25:02 +01:00
vendor
This commit is contained in:
parent
12163d1338
commit
550b1644cb
363 changed files with 84081 additions and 16 deletions
13
egui/scripts/generate_example_screenshots.sh
Executable file
13
egui/scripts/generate_example_screenshots.sh
Executable 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue