Make the app Material-only in the rules
The app builds one Material UI for every platform. Cupertino code, tests and captures are being removed, so the agreement, the capture recipe and the floating-windows plan no longer ask for them.
This commit is contained in:
@@ -83,16 +83,14 @@ Its bytes are served from the build, so copy the fixture in after building:
|
||||
|
||||
## Recipes (run from `app/` after building `build/probe-app`)
|
||||
|
||||
Capture a page at phone and fold widths, in Material and in Cupertino. Use 560
|
||||
for phone: headless Chrome misrenders Flutter below about 500 px.
|
||||
Capture a page at phone and fold widths. Use 560 for phone: headless Chrome
|
||||
misrenders Flutter below about 500 px. The app has one Material UI; do not
|
||||
capture `platform=cupertino`.
|
||||
|
||||
```sh
|
||||
for platform in material cupertino; do
|
||||
for size in 560x1000 880x1000; do
|
||||
node tool/capture/capture.mjs --build build/probe-app \
|
||||
--out /tmp/review/runs-$platform-$size --platform $platform --size $size \
|
||||
open=/runs/7 shot=run7
|
||||
done
|
||||
for size in 560x1000 880x1000; do
|
||||
node tool/capture/capture.mjs --build build/probe-app \
|
||||
--out /tmp/review/runs-$size --size $size open=/runs/7 shot=run7
|
||||
done
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user