mirror of
https://github.com/xodio/xod.git
synced 2026-03-06 16:56:52 +01:00
feat(infra): script for running all screenshot updaters
This commit is contained in:
13
tools/update-docs-screenshots.sh
Executable file
13
tools/update-docs-screenshots.sh
Executable file
@@ -0,0 +1,13 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
STARTING_DIR=$PWD
|
||||
export SHOT="$PWD/tools/screenshot-xodball"
|
||||
|
||||
updaters=($(find ./docs -iname update-screenshots.sh))
|
||||
for updater in "${updaters[@]}"; do
|
||||
echo -n "$updater ..."
|
||||
cd $(dirname $updater)
|
||||
./update-screenshots.sh
|
||||
cd "$STARTING_DIR"
|
||||
echo " done"
|
||||
done
|
||||
Reference in New Issue
Block a user