Skip to content

Commit 110c0a7

Browse files
authored
[ci] Add pointer to template image assets wiki (#103787)
Many of our flutter_tools templates include image assets such as application icons. Adding these will trigger an analysis error from our CI tooling. This adds a pointer to the wiki describing the procedure for adding or updating image assets in the templates: https://github.com/flutter/flutter/wiki/Managing-template-image-assets Uncovered while working on flutter/flutter#103371
1 parent f2116cb commit 110c0a7

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

dev/bots/analyze.dart

+2
Original file line numberDiff line numberDiff line change
@@ -1420,6 +1420,8 @@ Future<void> verifyNoBinaries(String workingDirectory, { Set<Hash256>? legacyBin
14201420
'size of the repository as it is distributed to all our developers. If you have a binary',
14211421
'to which you need access, you should consider how to fetch it from another repository;',
14221422
'for example, the "assets-for-api-docs" repository is used for images in API docs.',
1423+
'To add assets to flutter_tools templates, see the instructions in the wiki:',
1424+
'https://github.com/flutter/flutter/wiki/Managing-template-image-assets',
14231425
]);
14241426
}
14251427
}

dev/bots/test/analyze_test.dart

+2
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,8 @@ void main() {
167167
'size of the repository as it is distributed to all our developers. If you have a binary\n'
168168
'to which you need access, you should consider how to fetch it from another repository;\n'
169169
'for example, the "assets-for-api-docs" repository is used for images in API docs.\n'
170+
'To add assets to flutter_tools templates, see the instructions in the wiki:\n'
171+
'https://github.com/flutter/flutter/wiki/Managing-template-image-assets\n'
170172
'━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\n'
171173
);
172174
}

0 commit comments

Comments
 (0)