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

Issue 1805533005: Directory support for the analyzer CLI (#25129). (Closed)

Created:
4 years, 9 months ago by pquitslund
Modified:
4 years, 9 months ago
CC:
reviews_dartlang.org
Base URL:
git@github.com:dart-lang/sdk.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Directory support for the analyzer CLI (#25129). Adds smarts to recurse through directories to assemble a list of dart files to analyze. Addresses: https://github.com/dart-lang/sdk/issues/25129 Do note that all of these files are sharing the same analysis context (and options). Once the the ContextManager re-work is complete this can get smarter (see: https://github.com/dart-lang/sdk/issues/24133). BUG= R=brianwilkerson@google.com, scheglov@google.com Committed: https://github.com/dart-lang/sdk/commit/0bd85a2435481bad3f4c862319059e93c16eb41d

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+167 lines, -105 lines) Patch
M pkg/analyzer_cli/lib/src/analyzer_impl.dart View 3 chunks +7 lines, -2 lines 0 comments Download
M pkg/analyzer_cli/lib/src/driver.dart View 8 chunks +55 lines, -20 lines 2 comments Download
M pkg/analyzer_cli/lib/src/error_formatter.dart View 3 chunks +86 lines, -73 lines 0 comments Download
M pkg/analyzer_cli/lib/src/package_analyzer.dart View 3 chunks +4 lines, -1 line 0 comments Download
M pkg/analyzer_cli/test/reporter_test.dart View 2 chunks +15 lines, -9 lines 0 comments Download

Messages

Total messages: 7 (2 generated)
pquitslund
4 years, 9 months ago (2016-03-16 20:33:59 UTC) #2
Brian Wilkerson
LGTM https://codereview.chromium.org/1805533005/diff/1/pkg/analyzer_cli/lib/src/driver.dart File pkg/analyzer_cli/lib/src/driver.dart (right): https://codereview.chromium.org/1805533005/diff/1/pkg/analyzer_cli/lib/src/driver.dart#newcode561 pkg/analyzer_cli/lib/src/driver.dart:561: path.split(relative).any((part) => part.startsWith(".")); Does this need to worry ...
4 years, 9 months ago (2016-03-16 20:42:52 UTC) #3
scheglov
LGTM
4 years, 9 months ago (2016-03-16 20:43:32 UTC) #4
pquitslund
Thanks! https://codereview.chromium.org/1805533005/diff/1/pkg/analyzer_cli/lib/src/driver.dart File pkg/analyzer_cli/lib/src/driver.dart (right): https://codereview.chromium.org/1805533005/diff/1/pkg/analyzer_cli/lib/src/driver.dart#newcode561 pkg/analyzer_cli/lib/src/driver.dart:561: path.split(relative).any((part) => part.startsWith(".")); On 2016/03/16 20:42:52, Brian Wilkerson ...
4 years, 9 months ago (2016-03-16 20:55:42 UTC) #5
pquitslund
4 years, 9 months ago (2016-03-16 20:56:20 UTC) #7
Message was sent while issue was closed.
Committed patchset #1 (id:1) manually as
0bd85a2435481bad3f4c862319059e93c16eb41d (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698