Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(6)

Side by Side Diff: tools/gardening/bin/create_shard_data.dart

Issue 2973653002: Updated various gardening data, and ignoring gardening/temp. (Closed)
Patch Set: Now finishing quickly in summary.dart if only doing "help" Created 3 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « tools/gardening/.gitignore ('k') | tools/gardening/bin/create_shard_groups.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 // Outputs source code for `part` used by `shard2group.dart`. Usage: 5 // Outputs source code for `part` used by `shard2group.dart`. Usage:
6 // `dart bin/create_shard_groups.dart source.html >lib/src/shard_data.dart`. 6 // `dart bin/create_shard_groups.dart source.html >lib/src/shard_data.dart`.
7 7
8 import 'dart:io'; 8 import 'dart:io';
9 import 'dart:math' as math; 9 import 'dart:math' as math;
10 10
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 const Map<String, List<String>> shardGroups = const {"""); 100 const Map<String, List<String>> shardGroups = const {""");
101 for (int i = 0; i < groupCount; i++) { 101 for (int i = 0; i < groupCount; i++) {
102 print(" '${groups[i]}': const <String>["); 102 print(" '${groups[i]}': const <String>[");
103 for (String shard in shards[i]) { 103 for (String shard in shards[i]) {
104 print(" '$shard',"); 104 print(" '$shard',");
105 } 105 }
106 print(" ],"); 106 print(" ],");
107 } 107 }
108 print('};'); 108 print('};');
109 } 109 }
OLDNEW
« no previous file with comments | « tools/gardening/.gitignore ('k') | tools/gardening/bin/create_shard_groups.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698