move all analysis options to repo root (#5882)

This moves all of the various .analysis_options* files to the flutter repo root so that it's easier to
* remember to keep them all in sync, and
* easily refer customers to them
This commit is contained in:
Dan Rubel 2016-09-15 11:59:46 -04:00 committed by GitHub
parent 33794d1387
commit cc1755aac9
3 changed files with 2 additions and 2 deletions

View File

@ -218,8 +218,8 @@ class AnalyzeCommand extends FlutterCommand {
options.dartSdkPath = argResults['dart-sdk'];
options.packageMap = packages;
options.analysisOptionsFile = flutterRepo
? path.join(Cache.flutterRoot, '.analysis_options_flutter_analyze')
: path.join(Cache.flutterRoot, 'packages', 'flutter_tools', 'flutter_analysis_options');
? path.join(Cache.flutterRoot, '.analysis_options_repo')
: path.join(Cache.flutterRoot, '.analysis_options_user');
AnalysisDriver analyzer = new AnalysisDriver(options);
// TODO(pq): consider error handling