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 141113011: Support directories other than "web" in pub build. (Closed)

Created:
6 years, 11 months ago by Bob Nystrom
Modified:
6 years, 10 months ago
Reviewers:
nweiz
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Support directories other than "web" in pub build. BUG=https://code.google.com/p/dart/issues/detail?id=14673 R=nweiz@google.com Committed: https://code.google.com/p/dart/source/detail?r=32131

Patch Set 1 #

Total comments: 34

Patch Set 2 : Revise. #

Total comments: 4

Patch Set 3 : Revise. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1366 lines, -730 lines) Patch
M sdk/lib/_internal/pub/bin/pub.dart View 1 1 chunk +2 lines, -1 line 0 comments Download
M sdk/lib/_internal/pub/lib/src/barback.dart View 4 chunks +25 lines, -153 lines 0 comments Download
A sdk/lib/_internal/pub/lib/src/barback/build_environment.dart View 1 2 1 chunk +395 lines, -0 lines 0 comments Download
M sdk/lib/_internal/pub/lib/src/barback/dart2js_transformer.dart View 1 10 chunks +23 lines, -23 lines 0 comments Download
M sdk/lib/_internal/pub/lib/src/barback/dart_forwarding_transformer.dart View 2 chunks +2 lines, -6 lines 0 comments Download
M sdk/lib/_internal/pub/lib/src/barback/load_all_transformers.dart View 1 2 8 chunks +26 lines, -36 lines 0 comments Download
M sdk/lib/_internal/pub/lib/src/barback/load_transformers.dart View 1 3 chunks +6 lines, -8 lines 0 comments Download
M sdk/lib/_internal/pub/lib/src/barback/server.dart View 1 chunk +4 lines, -4 lines 0 comments Download
D sdk/lib/_internal/pub/lib/src/barback/sources.dart View 1 chunk +0 lines, -172 lines 0 comments Download
M sdk/lib/_internal/pub/lib/src/command.dart View 1 2 1 chunk +1 line, -1 line 0 comments Download
M sdk/lib/_internal/pub/lib/src/command/build.dart View 1 2 5 chunks +164 lines, -56 lines 0 comments Download
M sdk/lib/_internal/pub/lib/src/command/serve.dart View 4 chunks +12 lines, -21 lines 0 comments Download
M sdk/lib/_internal/pub/lib/src/exit_codes.dart View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M sdk/lib/_internal/pub/lib/src/io.dart View 1 2 5 chunks +5 lines, -4 lines 0 comments Download
A sdk/lib/_internal/pub/test/build/all_includes_all_buildable_directories_test.dart View 1 2 1 chunk +59 lines, -0 lines 0 comments Download
A + sdk/lib/_internal/pub/test/build/all_with_no_buildable_directories_test.dart View 1 1 chunk +8 lines, -7 lines 0 comments Download
M sdk/lib/_internal/pub/test/build/allows_arbitrary_modes_test.dart View 1 2 1 chunk +4 lines, -3 lines 0 comments Download
A sdk/lib/_internal/pub/test/build/allows_multiple_dir_name_args_test.dart View 1 2 1 chunk +40 lines, -0 lines 0 comments Download
A sdk/lib/_internal/pub/test/build/cleans_entire_build_directory_test.dart View 1 2 1 chunk +39 lines, -0 lines 0 comments Download
D sdk/lib/_internal/pub/test/build/compiles_dart_entrypoints_to_js_test.dart View 1 chunk +0 lines, -51 lines 0 comments Download
A sdk/lib/_internal/pub/test/build/compiles_entrypoints_in_benchmark_test.dart View 1 2 1 chunk +50 lines, -0 lines 0 comments Download
A sdk/lib/_internal/pub/test/build/compiles_entrypoints_in_example_test.dart View 1 2 1 chunk +50 lines, -0 lines 0 comments Download
A sdk/lib/_internal/pub/test/build/compiles_entrypoints_in_test_test.dart View 1 2 1 chunk +50 lines, -0 lines 0 comments Download
A + sdk/lib/_internal/pub/test/build/compiles_entrypoints_in_web_test.dart View 1 2 3 chunks +15 lines, -16 lines 0 comments Download
M sdk/lib/_internal/pub/test/build/copies_browser_js_next_to_entrypoints_test.dart View 1 2 2 chunks +40 lines, -16 lines 0 comments Download
M sdk/lib/_internal/pub/test/build/copies_non_dart_files_to_build_test.dart View 1 2 1 chunk +7 lines, -6 lines 0 comments Download
M sdk/lib/_internal/pub/test/build/dart2js_finds_imports_across_packages_test.dart View 1 2 1 chunk +6 lines, -5 lines 0 comments Download
M sdk/lib/_internal/pub/test/build/defaults_to_release_mode_test.dart View 1 2 1 chunk +4 lines, -3 lines 0 comments Download
A + sdk/lib/_internal/pub/test/build/does_not_allow_args_with_all_test.dart View 1 1 chunk +9 lines, -8 lines 0 comments Download
M sdk/lib/_internal/pub/test/build/handles_long_paths_test.dart View 1 2 1 chunk +7 lines, -6 lines 0 comments Download
A sdk/lib/_internal/pub/test/build/ignores_entrypoints_in_asset_test.dart View 1 2 1 chunk +34 lines, -0 lines 0 comments Download
A sdk/lib/_internal/pub/test/build/ignores_entrypoints_in_bin_test.dart View 1 2 1 chunk +34 lines, -0 lines 0 comments Download
A sdk/lib/_internal/pub/test/build/ignores_entrypoints_in_lib_test.dart View 1 2 1 chunk +34 lines, -0 lines 0 comments Download
M sdk/lib/_internal/pub/test/build/ignores_existing_compiled_js_files_test.dart View 1 2 1 chunk +6 lines, -5 lines 0 comments Download
M sdk/lib/_internal/pub/test/build/ignores_non_entrypoint_dart_files_test.dart View 1 2 1 chunk +2 lines, -10 lines 0 comments Download
M sdk/lib/_internal/pub/test/build/includes_assets_from_dependencies_test.dart View 1 2 1 chunk +25 lines, -10 lines 0 comments Download
M sdk/lib/_internal/pub/test/build/includes_dart_files_in_debug_mode_test.dart View 1 2 1 chunk +11 lines, -10 lines 0 comments Download
A sdk/lib/_internal/pub/test/build/missing_build_directories_test.dart View 1 1 chunk +27 lines, -0 lines 0 comments Download
A + sdk/lib/_internal/pub/test/build/missing_web_directory_test.dart View 1 1 chunk +5 lines, -5 lines 0 comments Download
A sdk/lib/_internal/pub/test/build/name_arg_builds_only_that_directory_test.dart View 1 2 1 chunk +43 lines, -0 lines 0 comments Download
M sdk/lib/_internal/pub/test/build/reports_dart_parse_errors_test.dart View 1 chunk +1 line, -3 lines 0 comments Download
A sdk/lib/_internal/pub/test/build/unsupported_build_directories_test.dart View 1 1 chunk +21 lines, -0 lines 0 comments Download
M sdk/lib/_internal/pub/test/build/warns_on_assets_paths_test.dart View 1 2 5 chunks +5 lines, -10 lines 0 comments Download
D sdk/lib/_internal/pub/test/build/with_no_web_directory_test.dart View 1 chunk +0 lines, -19 lines 0 comments Download
M sdk/lib/_internal/pub/test/lish/archives_and_uploads_a_package_test.dart View 1 2 2 chunks +2 lines, -1 line 0 comments Download
M sdk/lib/_internal/pub/test/lish/force_does_not_publish_if_there_are_errors_test.dart View 1 2 2 chunks +2 lines, -1 line 0 comments Download
M sdk/lib/_internal/pub/test/lish/force_publishes_if_tests_are_no_warnings_or_errors_test.dart View 1 2 2 chunks +2 lines, -1 line 0 comments Download
M sdk/lib/_internal/pub/test/lish/force_publishes_if_there_are_warnings_test.dart View 1 2 2 chunks +2 lines, -1 line 0 comments Download
M sdk/lib/_internal/pub/test/lish/package_creation_provides_an_error_test.dart View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M sdk/lib/_internal/pub/test/lish/package_validation_has_a_warning_and_continues_test.dart View 1 2 2 chunks +2 lines, -1 line 0 comments Download
M sdk/lib/_internal/pub/test/lish/package_validation_has_a_warning_and_is_canceled_test.dart View 1 2 2 chunks +2 lines, -1 line 0 comments Download
M sdk/lib/_internal/pub/test/lish/package_validation_has_an_error_test.dart View 1 2 2 chunks +2 lines, -1 line 0 comments Download
M sdk/lib/_internal/pub/test/lish/preview_package_validation_has_a_warning_test.dart View 1 2 2 chunks +2 lines, -1 line 0 comments Download
M sdk/lib/_internal/pub/test/lish/preview_package_validation_has_no_warnings_test.dart View 1 2 2 chunks +2 lines, -1 line 0 comments Download
M sdk/lib/_internal/pub/test/pub_uploader_test.dart View 1 2 5 chunks +7 lines, -6 lines 0 comments Download
M sdk/lib/_internal/pub/test/real_version_test.dart View 1 2 2 chunks +4 lines, -3 lines 0 comments Download
M sdk/lib/_internal/pub/test/test_pub.dart View 1 2 2 chunks +2 lines, -1 line 0 comments Download
M sdk/lib/_internal/pub/test/transformer/dart2js/minify_configuration_overrides_mode_test.dart View 1 chunk +0 lines, -2 lines 0 comments Download
M sdk/lib/_internal/pub/test/transformer/dart2js/output_can_be_consumed_by_successive_phases.dart View 1 chunk +0 lines, -2 lines 0 comments Download
A + sdk/lib/_internal/pub/test/transformer/dart2js/supports_configuration_with_build_test.dart View 1 2 chunks +26 lines, -24 lines 0 comments Download
M sdk/lib/_internal/pub/test/transformer/mode_defaults_to_debug_in_serve_test.dart View 1 chunk +0 lines, -2 lines 0 comments Download
M sdk/lib/_internal/pub/test/transformer/mode_defaults_to_release_in_build_test.dart View 1 2 1 chunk +4 lines, -3 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
Bob Nystrom
This patch is pretty huge, but it's mostly moving code around and cleaning stuff up. ...
6 years, 11 months ago (2014-01-18 00:36:52 UTC) #1
nweiz
https://codereview.chromium.org/141113011/diff/1/sdk/lib/_internal/pub/lib/src/barback/build_environment.dart File sdk/lib/_internal/pub/lib/src/barback/build_environment.dart (right): https://codereview.chromium.org/141113011/diff/1/sdk/lib/_internal/pub/lib/src/barback/build_environment.dart#newcode1 sdk/lib/_internal/pub/lib/src/barback/build_environment.dart:1: // Copyright (c) 2013, the Dart project authors. Please ...
6 years, 10 months ago (2014-01-28 03:21:51 UTC) #2
Bob Nystrom
Thanks! https://codereview.chromium.org/141113011/diff/1/sdk/lib/_internal/pub/lib/src/barback/build_environment.dart File sdk/lib/_internal/pub/lib/src/barback/build_environment.dart (right): https://codereview.chromium.org/141113011/diff/1/sdk/lib/_internal/pub/lib/src/barback/build_environment.dart#newcode1 sdk/lib/_internal/pub/lib/src/barback/build_environment.dart:1: // Copyright (c) 2013, the Dart project authors. ...
6 years, 10 months ago (2014-01-28 23:02:03 UTC) #3
nweiz
A few suggestions, otherwise lgtm. Passing BuildEnvironment around is definitely cleaner. https://codereview.chromium.org/141113011/diff/1/sdk/lib/_internal/pub/test/build/includes_assets_from_dependencies_test.dart File sdk/lib/_internal/pub/test/build/includes_assets_from_dependencies_test.dart (right): ...
6 years, 10 months ago (2014-01-29 01:24:34 UTC) #4
Bob Nystrom
https://codereview.chromium.org/141113011/diff/1/sdk/lib/_internal/pub/test/build/includes_assets_from_dependencies_test.dart File sdk/lib/_internal/pub/test/build/includes_assets_from_dependencies_test.dart (right): https://codereview.chromium.org/141113011/diff/1/sdk/lib/_internal/pub/test/build/includes_assets_from_dependencies_test.dart#newcode34 sdk/lib/_internal/pub/test/build/includes_assets_from_dependencies_test.dart:34: ]), On 2014/01/29 01:24:35, nweiz wrote: > On 2014/01/28 ...
6 years, 10 months ago (2014-01-29 19:03:37 UTC) #5
Bob Nystrom
6 years, 10 months ago (2014-01-29 19:04:28 UTC) #6
Message was sent while issue was closed.
Committed patchset #3 manually as r32131 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698