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

Issue 69043003: Allow user to specify mode for pub build/serve. (Closed)

Created:
7 years, 1 month ago by Bob Nystrom
Modified:
7 years, 1 month ago
Reviewers:
nweiz
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Allow user to specify mode for pub build/serve. BUG=https://code.google.com/p/dart/issues/detail?id=14792 R=nweiz@google.com Committed: https://code.google.com/p/dart/source/detail?r=30262

Patch Set 1 #

Total comments: 8

Patch Set 2 : Don't serve .dart files in release mode. #

Patch Set 3 : Don't serve .dart files in release mode. #

Patch Set 4 : Revise. #

Patch Set 5 : Revise. #

Patch Set 6 : Revise. #

Patch Set 7 : Revise. #

Patch Set 8 : Revise. #

Total comments: 2

Patch Set 9 : Revise doc. #

Patch Set 10 : Get rid of "--minify" flags. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+96 lines, -265 lines) Patch
M sdk/lib/_internal/pub/lib/src/barback/dart2js_transformer.dart View 1 2 3 4 5 6 7 8 9 5 chunks +7 lines, -8 lines 0 comments Download
sdk/lib/_internal/pub/lib/src/barback/dart_forwarding_transformer.dart View 1 2 3 4 5 6 7 8 9 1 chunk +13 lines, -3 lines 0 comments Download
M sdk/lib/_internal/pub/lib/src/command/build.dart View 1 2 3 4 5 6 7 8 9 4 chunks +12 lines, -11 lines 0 comments Download
M sdk/lib/_internal/pub/lib/src/command/serve.dart View 1 2 3 4 5 6 7 8 9 3 chunks +8 lines, -15 lines 0 comments Download
A + sdk/lib/_internal/pub/test/build/allows_arbitrary_modes_test.dart View 3 chunks +9 lines, -10 lines 0 comments Download
D sdk/lib/_internal/pub/test/build/compiles_dart_entrypoints_to_dart_and_js_test.dart View 1 chunk +0 lines, -50 lines 0 comments Download
A + sdk/lib/_internal/pub/test/build/compiles_dart_entrypoints_to_js_test.dart View 1 chunk +1 line, -1 line 0 comments Download
A + sdk/lib/_internal/pub/test/build/defaults_to_release_mode_test.dart View 1 2 3 4 5 6 7 8 9 3 chunks +8 lines, -9 lines 0 comments Download
M sdk/lib/_internal/pub/test/build/ignores_non_entrypoint_dart_files_test.dart View 1 chunk +0 lines, -2 lines 0 comments Download
A + sdk/lib/_internal/pub/test/build/includes_dart_files_in_debug_mode_test.dart View 3 chunks +8 lines, -8 lines 0 comments Download
D sdk/lib/_internal/pub/test/build/minifies_js_by_default_test.dart View 1 2 3 4 5 6 7 8 9 1 chunk +0 lines, -35 lines 0 comments Download
D sdk/lib/_internal/pub/test/build/takes_flag_to_disable_minification_test.dart View 1 2 3 4 5 6 7 8 9 1 chunk +0 lines, -35 lines 0 comments Download
A + sdk/lib/_internal/pub/test/serve/allows_arbitrary_modes_test.dart View 1 2 3 4 5 6 7 8 9 3 chunks +9 lines, -8 lines 0 comments Download
A + sdk/lib/_internal/pub/test/serve/defaults_to_debug_mode_test.dart View 1 2 3 4 5 6 7 8 9 3 chunks +8 lines, -7 lines 0 comments Download
sdk/lib/_internal/pub/test/serve/does_not_serve_dart_in_release_test.dart View 1 1 chunk +9 lines, -9 lines 0 comments Download
A + sdk/lib/_internal/pub/test/transformer/dart2js/minifies_in_release_mode_test.dart View 1 2 3 4 5 6 7 8 9 2 chunks +2 lines, -2 lines 0 comments Download
D sdk/lib/_internal/pub/test/transformer/dart2js/takes_flag_minify_test.dart View 1 2 3 4 5 6 7 8 9 1 chunk +0 lines, -25 lines 0 comments Download
D sdk/lib/_internal/pub/test/transformer/dart2js/unminified_by_default_test.dart View 1 2 3 4 5 6 7 8 9 1 chunk +0 lines, -25 lines 0 comments Download
A + sdk/lib/_internal/pub/test/transformer/dart2js/unminified_in_nonrelease_mode_test.dart View 1 2 3 4 5 6 7 8 9 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
Bob Nystrom
7 years, 1 month ago (2013-11-11 23:59:45 UTC) #1
nweiz
https://codereview.chromium.org/69043003/diff/1/sdk/lib/_internal/pub/lib/src/command/build.dart File sdk/lib/_internal/pub/lib/src/command/build.dart (right): https://codereview.chromium.org/69043003/diff/1/sdk/lib/_internal/pub/lib/src/command/build.dart#newcode45 sdk/lib/_internal/pub/lib/src/command/build.dart:45: help: 'Minify generated JavaScript.'); This would be a good ...
7 years, 1 month ago (2013-11-12 01:49:53 UTC) #2
Bob Nystrom
https://codereview.chromium.org/69043003/diff/1/sdk/lib/_internal/pub/lib/src/command/build.dart File sdk/lib/_internal/pub/lib/src/command/build.dart (right): https://codereview.chromium.org/69043003/diff/1/sdk/lib/_internal/pub/lib/src/command/build.dart#newcode45 sdk/lib/_internal/pub/lib/src/command/build.dart:45: help: 'Minify generated JavaScript.'); On 2013/11/12 01:49:54, nweiz wrote: ...
7 years, 1 month ago (2013-11-12 20:50:09 UTC) #3
nweiz
https://codereview.chromium.org/69043003/diff/1/sdk/lib/_internal/pub/lib/src/command/build.dart File sdk/lib/_internal/pub/lib/src/command/build.dart (right): https://codereview.chromium.org/69043003/diff/1/sdk/lib/_internal/pub/lib/src/command/build.dart#newcode45 sdk/lib/_internal/pub/lib/src/command/build.dart:45: help: 'Minify generated JavaScript.'); On 2013/11/12 20:50:09, Bob Nystrom ...
7 years, 1 month ago (2013-11-12 21:11:50 UTC) #4
Bob Nystrom
https://codereview.chromium.org/69043003/diff/1/sdk/lib/_internal/pub/lib/src/command/build.dart File sdk/lib/_internal/pub/lib/src/command/build.dart (right): https://codereview.chromium.org/69043003/diff/1/sdk/lib/_internal/pub/lib/src/command/build.dart#newcode45 sdk/lib/_internal/pub/lib/src/command/build.dart:45: help: 'Minify generated JavaScript.'); On 2013/11/12 21:11:50, nweiz wrote: ...
7 years, 1 month ago (2013-11-12 21:28:06 UTC) #5
nweiz
https://codereview.chromium.org/69043003/diff/1/sdk/lib/_internal/pub/lib/src/command/build.dart File sdk/lib/_internal/pub/lib/src/command/build.dart (right): https://codereview.chromium.org/69043003/diff/1/sdk/lib/_internal/pub/lib/src/command/build.dart#newcode45 sdk/lib/_internal/pub/lib/src/command/build.dart:45: help: 'Minify generated JavaScript.'); On 2013/11/12 21:28:06, Bob Nystrom ...
7 years, 1 month ago (2013-11-12 22:16:20 UTC) #6
Bob Nystrom
On 2013/11/12 22:16:20, nweiz wrote: > https://codereview.chromium.org/69043003/diff/1/sdk/lib/_internal/pub/lib/src/command/build.dart > File sdk/lib/_internal/pub/lib/src/command/build.dart (right): > > https://codereview.chromium.org/69043003/diff/1/sdk/lib/_internal/pub/lib/src/command/build.dart#newcode45 > ...
7 years, 1 month ago (2013-11-12 22:25:46 UTC) #7
nweiz
On 2013/11/12 22:25:46, Bob Nystrom wrote: > On 2013/11/12 22:16:20, nweiz wrote: > > > ...
7 years, 1 month ago (2013-11-12 23:04:59 UTC) #8
Bob Nystrom
https://codereview.chromium.org/69043003/diff/1/sdk/lib/_internal/pub/lib/src/command/build.dart File sdk/lib/_internal/pub/lib/src/command/build.dart (right): https://codereview.chromium.org/69043003/diff/1/sdk/lib/_internal/pub/lib/src/command/build.dart#newcode45 sdk/lib/_internal/pub/lib/src/command/build.dart:45: help: 'Minify generated JavaScript.'); On 2013/11/12 22:16:21, nweiz wrote: ...
7 years, 1 month ago (2013-11-13 01:36:19 UTC) #9
nweiz
lgtm
7 years, 1 month ago (2013-11-13 21:52:47 UTC) #10
Bob Nystrom
7 years, 1 month ago (2013-11-14 01:10:52 UTC) #11
Message was sent while issue was closed.
Committed patchset #10 manually as r30262 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698