m3_lightmeter/screenshots/scripts/generate_screenshots.sh
2023-12-27 21:24:36 +01:00

13 lines
381 B
Bash

deviceName="$1"
fvm flutter drive \
-d "$deviceName" \
--dart-define="cameraStubImage=assets/camera_stub_image.jpg" \
--dart-define="deviceName=$deviceName" \
--driver=test_driver/screenshot_driver.dart \
--target=screenshots/generate_screenshots.dart \
--debug \
--flavor=dev \
--no-dds \
--endless-trace-buffer \
--purge-persistent-cache