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 212923006: Rationalize arg handling for pub build and serve. (Closed)

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

Description

Rationalize arg handling for pub build and serve. BUG=https://code.google.com/p/dart/issues/detail?id=17088 R=nweiz@google.com Committed: https://code.google.com/p/dart/source/detail?r=34539

Patch Set 1 #

Total comments: 16

Patch Set 2 : Revise. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+729 lines, -942 lines) Patch
M sdk/lib/_internal/pub/lib/src/barback/dart2js_transformer.dart View 1 chunk +3 lines, -2 lines 0 comments Download
A sdk/lib/_internal/pub/lib/src/command/barback.dart View 1 1 chunk +182 lines, -0 lines 0 comments Download
M sdk/lib/_internal/pub/lib/src/command/build.dart View 4 chunks +8 lines, -91 lines 0 comments Download
M sdk/lib/_internal/pub/lib/src/command/serve.dart View 5 chunks +8 lines, -58 lines 0 comments Download
A sdk/lib/_internal/pub/test/barback/all_includes_all_default_directories_test.dart View 1 chunk +66 lines, -0 lines 0 comments Download
A sdk/lib/_internal/pub/test/barback/directory_args_test.dart View 1 chunk +63 lines, -0 lines 0 comments Download
A sdk/lib/_internal/pub/test/barback/fails_if_args_with_all_test.dart View 1 chunk +23 lines, -0 lines 0 comments Download
A + sdk/lib/_internal/pub/test/barback/fails_if_dir_arg_does_not_exist_test.dart View 1 chunk +11 lines, -12 lines 0 comments Download
A sdk/lib/_internal/pub/test/barback/fails_if_dir_outside_package_test.dart View 1 chunk +23 lines, -0 lines 0 comments Download
A sdk/lib/_internal/pub/test/barback/fails_if_no_default_dirs_test.dart View 1 1 chunk +27 lines, -0 lines 0 comments Download
A sdk/lib/_internal/pub/test/barback/fails_on_all_with_no_buildable_directories_test.dart View 1 chunk +25 lines, -0 lines 0 comments Download
A sdk/lib/_internal/pub/test/barback/fails_on_disallowed_directories_test.dart View 1 chunk +25 lines, -0 lines 0 comments Download
A sdk/lib/_internal/pub/test/barback/subdirectories_test.dart View 1 chunk +64 lines, -0 lines 0 comments Download
A sdk/lib/_internal/pub/test/barback/utils.dart View 1 chunk +60 lines, -0 lines 0 comments Download
D sdk/lib/_internal/pub/test/build/all_includes_all_buildable_directories_test.dart View 1 chunk +0 lines, -59 lines 0 comments Download
D sdk/lib/_internal/pub/test/build/all_with_no_buildable_directories_test.dart View 1 chunk +0 lines, -33 lines 0 comments Download
D sdk/lib/_internal/pub/test/build/allows_multiple_dir_name_args_test.dart View 1 chunk +0 lines, -40 lines 0 comments Download
D sdk/lib/_internal/pub/test/build/compiles_entrypoints_in_benchmark_test.dart View 1 chunk +0 lines, -48 lines 0 comments Download
D sdk/lib/_internal/pub/test/build/compiles_entrypoints_in_example_test.dart View 1 chunk +0 lines, -48 lines 0 comments Download
A sdk/lib/_internal/pub/test/build/compiles_entrypoints_in_root_package_test.dart View 1 chunk +84 lines, -0 lines 0 comments Download
D sdk/lib/_internal/pub/test/build/compiles_entrypoints_in_test_test.dart View 1 chunk +0 lines, -48 lines 0 comments Download
D sdk/lib/_internal/pub/test/build/compiles_entrypoints_in_web_test.dart View 1 chunk +0 lines, -48 lines 0 comments Download
M sdk/lib/_internal/pub/test/build/copies_browser_js_next_to_entrypoints_test.dart View 2 chunks +3 lines, -3 lines 0 comments Download
D sdk/lib/_internal/pub/test/build/does_not_allow_args_with_all_test.dart View 1 chunk +0 lines, -45 lines 0 comments Download
D sdk/lib/_internal/pub/test/build/ignores_entrypoints_in_bin_test.dart View 1 chunk +0 lines, -34 lines 0 comments Download
D sdk/lib/_internal/pub/test/build/missing_build_directories_test.dart View 1 chunk +0 lines, -48 lines 0 comments Download
D sdk/lib/_internal/pub/test/build/missing_web_directory_test.dart View 1 chunk +0 lines, -30 lines 0 comments Download
D sdk/lib/_internal/pub/test/build/name_arg_builds_only_that_directory_test.dart View 1 chunk +0 lines, -43 lines 0 comments Download
D sdk/lib/_internal/pub/test/build/unsupported_build_directories_test.dart View 1 chunk +0 lines, -45 lines 0 comments Download
M sdk/lib/_internal/pub/test/pub_test.dart View 1 6 chunks +10 lines, -8 lines 0 comments Download
D sdk/lib/_internal/pub/test/serve/roots/serves_urls_from_custom_roots_test.dart View 1 chunk +0 lines, -31 lines 0 comments Download
D sdk/lib/_internal/pub/test/serve/roots/serves_web_and_test_dirs_by_default_test.dart View 1 chunk +0 lines, -27 lines 0 comments Download
D sdk/lib/_internal/pub/test/serve/roots/throws_an_error_by_default_if_web_and_test_dont_exist_test.dart View 1 chunk +0 lines, -26 lines 0 comments Download
D sdk/lib/_internal/pub/test/serve/roots/throws_an_error_if_custom_roots_are_outside_package_test.dart View 1 chunk +0 lines, -24 lines 0 comments Download
D sdk/lib/_internal/pub/test/serve/roots/throws_an_error_if_custom_roots_dont_exist_test.dart View 1 chunk +0 lines, -25 lines 0 comments Download
A + sdk/lib/_internal/pub/test/serve/serves_web_and_test_dirs_by_default_test.dart View 1 chunk +3 lines, -3 lines 0 comments Download
M sdk/lib/_internal/pub/test/serve/utils.dart View 1 chunk +7 lines, -0 lines 0 comments Download
M sdk/lib/_internal/pub/test/test_pub.dart View 3 chunks +29 lines, -37 lines 0 comments Download
D sdk/lib/_internal/pub/test/transformer/dart2js/ignores_entrypoint_outside_web_test.dart View 1 chunk +0 lines, -25 lines 0 comments Download
A + sdk/lib/_internal/pub/test/transformer/dart2js/ignores_entrypoints_in_lib_and_asset_test.dart View 1 chunk +5 lines, -1 line 0 comments Download

Messages

Total messages: 5 (0 generated)
Bob Nystrom
I still plan to reorganize the tests more, but I want to do that in ...
6 years, 9 months ago (2014-03-26 21:34:09 UTC) #1
nweiz
https://codereview.chromium.org/212923006/diff/1/sdk/lib/_internal/pub/lib/src/command/barback.dart File sdk/lib/_internal/pub/lib/src/command/barback.dart (right): https://codereview.chromium.org/212923006/diff/1/sdk/lib/_internal/pub/lib/src/command/barback.dart#newcode47 sdk/lib/_internal/pub/lib/src/command/barback.dart:47: commandParser.addFlag("all", help: "Build all buildable directories.", Saying "build" a ...
6 years, 9 months ago (2014-03-26 22:17:27 UTC) #2
Bob Nystrom
Thanks! https://codereview.chromium.org/212923006/diff/1/sdk/lib/_internal/pub/lib/src/command/barback.dart File sdk/lib/_internal/pub/lib/src/command/barback.dart (right): https://codereview.chromium.org/212923006/diff/1/sdk/lib/_internal/pub/lib/src/command/barback.dart#newcode47 sdk/lib/_internal/pub/lib/src/command/barback.dart:47: commandParser.addFlag("all", help: "Build all buildable directories.", On 2014/03/26 ...
6 years, 9 months ago (2014-03-27 01:22:38 UTC) #3
nweiz
lgtm
6 years, 9 months ago (2014-03-27 01:35:14 UTC) #4
Bob Nystrom
6 years, 9 months ago (2014-03-28 22:52:54 UTC) #5
Message was sent while issue was closed.
Committed patchset #2 manually as r34539 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698