mirror of
https://github.com/flutter/flutter.git
synced 2025-06-03 00:51:18 +00:00

The flutterroot param is accessible from the util function after the recent refactor of utils https://github.com/flutter/flutter/pull/146592 so this change cleans up the references to the suite runners to make them simpler. Part of https://github.com/flutter/flutter/issues/145482
21 lines
540 B
Dart
21 lines
540 B
Dart
// Copyright 2014 The Flutter Authors. All rights reserved.
|
|
// Use of this source code is governed by a BSD-style license that can be
|
|
// found in the LICENSE file.
|
|
|
|
import 'package:path/path.dart' as path;
|
|
|
|
import '../run_command.dart';
|
|
import '../utils.dart';
|
|
|
|
Future<void> analyzeRunner() async {
|
|
printProgress('${green}Running analysis testing$reset');
|
|
await runCommand(
|
|
'dart',
|
|
<String>[
|
|
'--enable-asserts',
|
|
path.join(flutterRoot, 'dev', 'bots', 'analyze.dart'),
|
|
],
|
|
workingDirectory: flutterRoot,
|
|
);
|
|
}
|