mirror of
https://github.com/passepartoutvpn/passepartout-apple.git
synced 2025-01-22 16:42:09 +00:00
6e8f10f919
- Move non-CI scripts to "scripts" - Use lowercase variables consistently - Work with relative paths - Work with environment - Parametrize Xcode build/version number (move uniq last)
17 lines
277 B
Bash
Executable File
17 lines
277 B
Bash
Executable File
#!/bin/bash
|
|
cwd=`dirname $0`
|
|
source $cwd/env.sh
|
|
cd $cwd/..
|
|
|
|
if [[ -n "$1" ]]; then
|
|
devices="$1"
|
|
fi
|
|
for device in $devices; do
|
|
if ! screenshots/export.sh $device; then
|
|
exit 1
|
|
fi
|
|
if ! screenshots/compose-device.sh $device; then
|
|
exit 1
|
|
fi
|
|
done
|