passepartout-apple/ci/gen-screenshots.sh

11 lines
234 B
Bash
Executable File

#!/bin/bash
cwd=`dirname $0`
devices=("iphone ipad mac appletv")
if [[ -n "$1" ]]; then
devices=("$1")
fi
for device in $devices; do
$cwd/../screenshots/export.sh $device
$cwd/../screenshots/compose-device.sh $device
done