You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+4-2Lines changed: 4 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -10,11 +10,13 @@ _None_
10
10
11
11
### New Features
12
12
13
-
* Allow `android_firebase_test` to not crash on failure, letting the caller do custom failure handling (e.g. Buildkite Annotations, etc) on their side. [#430]
13
+
- Allow `android_firebase_test` to not crash on failure, letting the caller do custom failure handling (e.g. Buildkite Annotations, etc) on their side. [#430]
14
+
-`promo_screenshots` now checks that the fonts—referenced via `font-family` in all the stylesheets referenced in the config file—are installed before starting, and prompt to install them if they are not. This check is enabled by default now but can be disabled/skipped if it causes any issue. [#429]
15
+
-`promo_screenshots` now supports config files to be written in `YAML` in addition to still supporting `JSON`. [#429]
14
16
15
17
### Bug Fixes
16
18
17
-
_None_
19
+
- Fix deprecation warning in `RMagick` call used by `promo_screenshots` action. [#429]
Copy file name to clipboardExpand all lines: docs/screenshot-compositor.md
+15-15Lines changed: 15 additions & 15 deletions
Original file line number
Diff line number
Diff line change
@@ -37,17 +37,17 @@ By default, this tool will prompt the developer before overwriting any existing
37
37
38
38
**`config_file`** (optional)
39
39
40
-
The tool uses a `.json` file for configuration. By default, the tool will attempt to use a file called `screenshots.json` in the same directory as the `Fastfile`. If your file has a different name, you'll need to use this argument.
40
+
The tool uses a `.json`or `.yaml`file for configuration. By default, the tool will attempt to use a file called `screenshots.json` in the same directory as the `Fastfile`. If your file has a different name, you'll need to use this argument.
41
41
42
42
## Sample Implementations
43
43
44
44
The following sample implementations provide a good example of how to create a configuration file:
The `.json` configuration file contains all the information needed for the compositor to do its work. It has three main sections:
50
+
The `.json`(or `.yaml`) configuration file contains all the information needed for the compositor to do its work. It has three main sections:
51
51
52
52
- Preamble
53
53
- Devices
@@ -69,7 +69,7 @@ This key defines the default background color of each screenshot. This must be a
69
69
70
70
**`stylesheet`**
71
71
72
-
This key defines the default stylesheet used for text formatting. It should be a path to the stylesheet, either absolute, or relative to the configuration file.
72
+
This key defines the default stylesheet used for text formatting. It should be a path to the stylesheet, either absolute, or relative to the `fastlane` folder.
73
73
74
74
A sample stylesheet looks like this:
75
75
@@ -105,7 +105,7 @@ The device list specifies a set of reusable device frames for the compositor. Th
@@ -194,7 +194,7 @@ Allows you to customize the exported filename for this entry.
194
194
195
195
**`background`** (optional)
196
196
197
-
Specifies the path to a background image for this entry. This path can be absolute or relative to the configuration file. The background image **will not** be automatically resized, and it will be placed at `(0,0)`. If not provided, the image will use the background color defined in the preamble.
197
+
Specifies the path to a background image for this entry. This path can be absolute, or relative to the `fastlane` folder. The background image **will not** be automatically resized, and it will be placed at `(0,0)`. If not provided, the image will use the background color defined in the preamble.
198
198
199
199
**`screenshot`** (optional)
200
200
@@ -253,7 +253,7 @@ Text attachments use the following keys:
253
253
254
254
**`text`**
255
255
256
-
Specifies the path to the text file for this attachment. The path should be specified relative to the configuration file, and can contain the `{locale}` placeholder to allow for localization.
256
+
Specifies the path to the text file for this attachment. The path should be specified relative to the `fastlane` folder, and can contain the `{locale}` placeholder to allow for localization.
257
257
258
258
**`size`**
259
259
@@ -269,12 +269,12 @@ Specifies the font size for the text of this attachment. If this number is too l
269
269
270
270
**`stylesheet`**
271
271
272
-
Specifies a stylesheet used for this attachment. It should contain a path to the stylesheet, either absolute, or relative to the configuration file.
272
+
Specifies a stylesheet used for this attachment. It should contain a path to the stylesheet, either absolute, or relative to the `fastlane` folder.
@@ -284,7 +284,7 @@ Image attachments use the following keys:
284
284
285
285
**`file`**
286
286
287
-
Specifies the path to the attachment image. The path should be specified relative to the configuration file, and can contain the `{locale}` placeholder to allow for localization.
287
+
Specifies the path to the attachment image. The path should be specified relative to the `fastlane` folder, and can contain the `{locale}` placeholder to allow for localization.
0 commit comments