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

Issue 23898009: Switch polymer's build.dart to use the new linter. This CL does the following (Closed)

Created:
7 years, 3 months ago by Siggi Cherem (dart-lang)
Modified:
7 years, 3 months ago
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Switch polymer's build.dart to use the new linter. This CL does the following changes: - deletes the old compiler entirely and switches over to the new linter. - adds a new build_helper.dart (to replace components_build.dart) - defines 'lint' and 'deploy' methods that can be called from build.dart - includes options to limit the scope of what's an entrypoint, and to override the currentPackage and packageDirs - includes the '--deploy' flag to address: dartbug.com/13050 R=jmesserly@google.com Committed: https://code.google.com/p/dart/source/detail?r=27403

Patch Set 1 : #

Total comments: 51

Patch Set 2 : address john comments (part 1) #

Patch Set 3 : addressing john comments (part 2) - renamed files #

Unified diffs Side-by-side diffs Delta from patch set Stats (+746 lines, -3474 lines) Patch
D pkg/polymer/build.dart View 1 chunk +0 lines, -15 lines 0 comments Download
A pkg/polymer/lib/builder.dart View 1 2 1 chunk +292 lines, -0 lines 0 comments Download
M pkg/polymer/lib/component_build.dart View 1 2 1 chunk +10 lines, -94 lines 0 comments Download
M pkg/polymer/lib/deploy.dart View 1 2 5 chunks +34 lines, -217 lines 0 comments Download
D pkg/polymer/lib/dwc.dart View 1 chunk +0 lines, -58 lines 0 comments Download
M pkg/polymer/lib/polymer_element.dart View 1 chunk +1 line, -1 line 0 comments Download
D pkg/polymer/lib/src/analyzer.dart View 1 chunk +0 lines, -481 lines 0 comments Download
A pkg/polymer/lib/src/barback_runner.dart View 1 2 1 chunk +240 lines, -0 lines 0 comments Download
D pkg/polymer/lib/src/compiler.dart View 1 chunk +0 lines, -360 lines 0 comments Download
D pkg/polymer/lib/src/compiler_options.dart View 1 chunk +0 lines, -144 lines 0 comments Download
D pkg/polymer/lib/src/css_analyzer.dart View 1 chunk +0 lines, -503 lines 0 comments Download
D pkg/polymer/lib/src/css_emitters.dart View 1 chunk +0 lines, -120 lines 0 comments Download
D pkg/polymer/lib/src/custom_tag_name.dart View 1 chunk +0 lines, -27 lines 0 comments Download
D pkg/polymer/lib/src/file_system.dart View 1 chunk +0 lines, -35 lines 0 comments Download
D pkg/polymer/lib/src/file_system/console.dart View 1 chunk +0 lines, -47 lines 0 comments Download
D pkg/polymer/lib/src/files.dart View 1 chunk +0 lines, -47 lines 0 comments Download
D pkg/polymer/lib/src/info.dart View 1 chunk +0 lines, -183 lines 0 comments Download
M pkg/polymer/lib/src/linter.dart View 6 chunks +32 lines, -5 lines 0 comments Download
D pkg/polymer/lib/src/messages.dart View 1 chunk +0 lines, -149 lines 0 comments Download
M pkg/polymer/lib/src/transform.dart View 1 chunk +12 lines, -8 lines 0 comments Download
M pkg/polymer/lib/src/transform/code_extractor.dart View 1 chunk +5 lines, -1 line 0 comments Download
M pkg/polymer/lib/src/transform/common.dart View 1 2 chunks +40 lines, -20 lines 0 comments Download
M pkg/polymer/lib/src/transform/import_inliner.dart View 1 1 chunk +6 lines, -2 lines 0 comments Download
M pkg/polymer/lib/src/transform/polyfill_injector.dart View 1 1 chunk +6 lines, -2 lines 0 comments Download
M pkg/polymer/lib/src/transform/script_compactor.dart View 1 2 1 chunk +6 lines, -2 lines 0 comments Download
M pkg/polymer/lib/src/utils.dart View 1 chunk +21 lines, -164 lines 0 comments Download
D pkg/polymer/lib/src/utils_observe.dart View 1 chunk +0 lines, -33 lines 0 comments Download
D pkg/polymer/test/build/compiler_test.dart View 1 2 1 chunk +0 lines, -110 lines 0 comments Download
D pkg/polymer/test/build/css_test.dart View 1 2 1 chunk +0 lines, -500 lines 0 comments Download
M pkg/polymer/test/build/linter_test.dart View 1 2 2 chunks +3 lines, -2 lines 0 comments Download
D pkg/polymer/test/build/testing.dart View 1 2 1 chunk +0 lines, -111 lines 0 comments Download
M pkg/polymer/test/transform/all_phases_test.dart View 1 chunk +1 line, -0 lines 0 comments Download
M pkg/polymer/test/transform/code_extractor_test.dart View 5 chunks +8 lines, -8 lines 0 comments Download
M pkg/polymer/test/transform/import_inliner_test.dart View 12 chunks +14 lines, -12 lines 0 comments Download
M pkg/polymer/test/transform/polyfill_injector_test.dart View 3 chunks +7 lines, -5 lines 0 comments Download
M pkg/polymer/test/transform/script_compactor_test.dart View 4 chunks +6 lines, -4 lines 0 comments Download
M samples/third_party/todomvc/build.dart View 1 2 1 chunk +2 lines, -4 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
Siggi Cherem (dart-lang)
https://codereview.chromium.org/23898009/diff/6001/pkg/polymer/lib/deploy.dart File pkg/polymer/lib/deploy.dart (left): https://codereview.chromium.org/23898009/diff/6001/pkg/polymer/lib/deploy.dart#oldcode98 pkg/polymer/lib/deploy.dart:98: Future _run(String outDir, bool includeTests) { most code below ...
7 years, 3 months ago (2013-09-10 03:40:57 UTC) #1
Jennifer Messerly
Awesome stuff! <3 seeing so much code cleanup! https://codereview.chromium.org/23898009/diff/6001/pkg/polymer/lib/build_helper.dart File pkg/polymer/lib/build_helper.dart (right): https://codereview.chromium.org/23898009/diff/6001/pkg/polymer/lib/build_helper.dart#newcode64 pkg/polymer/lib/build_helper.dart:64: * ...
7 years, 3 months ago (2013-09-10 04:16:51 UTC) #2
Siggi Cherem (dart-lang)
Thanks John, PTAL PatchSet 3 merges in your changes + renames files, but PatchSet 2 ...
7 years, 3 months ago (2013-09-11 01:45:26 UTC) #3
Jennifer Messerly
lgtm https://codereview.chromium.org/23898009/diff/6001/pkg/polymer/lib/deploy.dart File pkg/polymer/lib/deploy.dart (right): https://codereview.chromium.org/23898009/diff/6001/pkg/polymer/lib/deploy.dart#newcode114 pkg/polymer/lib/deploy.dart:114: print('Usage: dart --package-root=packages/ ' On 2013/09/11 01:45:26, Siggi ...
7 years, 3 months ago (2013-09-11 20:07:53 UTC) #4
Siggi Cherem (dart-lang)
On 2013/09/11 20:07:53, John Messerly wrote: > lgtm > > https://codereview.chromium.org/23898009/diff/6001/pkg/polymer/lib/deploy.dart > File pkg/polymer/lib/deploy.dart (right): ...
7 years, 3 months ago (2013-09-11 20:23:44 UTC) #5
Siggi Cherem (dart-lang)
7 years, 3 months ago (2013-09-11 20:38:49 UTC) #6
Message was sent while issue was closed.
Committed patchset #3 manually as r27403 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698