| OLD | NEW |
| 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 /// Given the beginning and ending file names in a batch, does as much automated | 5 /// Given the beginning and ending file names in a batch, does as much automated |
| 6 /// migration and possible and prints out the remaining manual steps required. | 6 /// migration and possible and prints out the remaining manual steps required. |
| 7 /// | 7 /// |
| 8 /// This should be safe to run, and safe to re-run on an in-progress chunk. | 8 /// This should be safe to run, and safe to re-run on an in-progress chunk. |
| 9 /// However, it has not been thoroughly tested, so run at your own risk. | 9 /// However, it has not been thoroughly tested, so run at your own risk. |
| 10 | 10 |
| (...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 182 } | 182 } |
| 183 | 183 |
| 184 addFromDirectory("corelib", "corelib_2"); | 184 addFromDirectory("corelib", "corelib_2"); |
| 185 addFromDirectory("corelib_strong", "corelib_2"); | 185 addFromDirectory("corelib_strong", "corelib_2"); |
| 186 addFromDirectory("html", "lib_2/html"); | 186 addFromDirectory("html", "lib_2/html"); |
| 187 addFromDirectory("isolate", "lib_2/isolate"); | 187 addFromDirectory("isolate", "lib_2/isolate"); |
| 188 addFromDirectory("language", "language_2"); | 188 addFromDirectory("language", "language_2"); |
| 189 addFromDirectory("language_strong", "language_2"); | 189 addFromDirectory("language_strong", "language_2"); |
| 190 addFromDirectory("lib", "lib_2"); | 190 addFromDirectory("lib", "lib_2"); |
| 191 addFromDirectory("lib_strong", "lib_2"); | 191 addFromDirectory("lib_strong", "lib_2"); |
| 192 addFromDirectory("standalone", "standalone_2"); |
| 192 | 193 |
| 193 // Include tests that have already been migrated too so we can show what | 194 // Include tests that have already been migrated too so we can show what |
| 194 // works remains to be done in them. | 195 // works remains to be done in them. |
| 195 const twoDirs = const [ | 196 const twoDirs = const [ |
| 196 "corelib_2", | 197 "corelib_2", |
| 197 "lib_2", | 198 "lib_2", |
| 198 "language_2", | 199 "language_2", |
| 199 ]; | 200 ]; |
| 200 | 201 |
| 201 for (var dir in twoDirs) { | 202 for (var dir in twoDirs) { |
| (...skipping 18 matching lines...) Expand all Loading... |
| 220 } | 221 } |
| 221 | 222 |
| 222 addStatusFile("corelib"); | 223 addStatusFile("corelib"); |
| 223 addStatusFile("corelib_strong"); | 224 addStatusFile("corelib_strong"); |
| 224 addStatusFile("html"); | 225 addStatusFile("html"); |
| 225 addStatusFile("isolate"); | 226 addStatusFile("isolate"); |
| 226 addStatusFile("language"); | 227 addStatusFile("language"); |
| 227 addStatusFile("language_strong"); | 228 addStatusFile("language_strong"); |
| 228 addStatusFile("lib"); | 229 addStatusFile("lib"); |
| 229 addStatusFile("lib_strong"); | 230 addStatusFile("lib_strong"); |
| 231 addStatusFile("standalone"); |
| 230 return statusFiles; | 232 return statusFiles; |
| 231 } | 233 } |
| OLD | NEW |