| 1 | // Copyright 2014 The Flutter Authors. All rights reserved. |
| 2 | // Use of this source code is governed by a BSD-style license that can be |
| 3 | // found in the LICENSE file. |
| 4 | |
| 5 | import 'package:path/path.dart' as path; |
| 6 | |
| 7 | import '../run_command.dart'; |
| 8 | import '../utils.dart'; |
| 9 | |
| 10 | Future<void> analyzeRunner() async { |
| 11 | printProgress(' ${green}Running analysis testing $reset' ); |
| 12 | await runCommand('dart' , <String>[ |
| 13 | '--enable-asserts' , |
| 14 | path.join(flutterRoot, 'dev' , 'bots' , 'analyze.dart' ), |
| 15 | ], workingDirectory: flutterRoot); |
| 16 | } |
| 17 | |