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

Issue 599343003: Get binstubs working on Windows. (Closed)

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

Description

Get binstubs working on Windows. Committed: https://code.google.com/p/dart/source/detail?r=40667

Patch Set 1 #

Patch Set 2 : Update comment. #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+168 lines, -89 lines) Patch
M sdk/bin/pub.bat View 2 chunks +2 lines, -2 lines 0 comments Download
M sdk/lib/_internal/pub/bin/async_compile.dart View 1 2 chunks +22 lines, -8 lines 0 comments Download
M sdk/lib/_internal/pub/lib/src/global_packages.dart View 4 chunks +5 lines, -10 lines 2 comments Download
M sdk/lib/_internal/pub/test/global/binstubs/binstub_runs_executable_test.dart View 3 chunks +5 lines, -2 lines 0 comments Download
M sdk/lib/_internal/pub/test/global/binstubs/binstub_runs_global_run_if_no_snapshot_test.dart View 2 chunks +3 lines, -1 line 0 comments Download
M sdk/lib/_internal/pub/test/global/binstubs/binstub_runs_precompiled_snapshot_test.dart View 2 chunks +3 lines, -1 line 0 comments Download
M sdk/lib/_internal/pub/test/global/binstubs/creates_executables_in_pubspec_test.dart View 2 chunks +5 lines, -4 lines 0 comments Download
M sdk/lib/_internal/pub/test/global/binstubs/explicit_executables_test.dart View 2 chunks +6 lines, -3 lines 0 comments Download
M sdk/lib/_internal/pub/test/global/binstubs/missing_script_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M sdk/lib/_internal/pub/test/global/binstubs/name_collision_test.dart View 2 chunks +5 lines, -4 lines 0 comments Download
M sdk/lib/_internal/pub/test/global/binstubs/name_collision_with_overwrite_test.dart View 2 chunks +5 lines, -4 lines 0 comments Download
M sdk/lib/_internal/pub/test/global/binstubs/no_executables_flag_test.dart View 2 chunks +2 lines, -1 line 0 comments Download
M sdk/lib/_internal/pub/test/global/binstubs/path_package_test.dart View 2 chunks +2 lines, -1 line 0 comments Download
M sdk/lib/_internal/pub/test/global/binstubs/reactivate_removes_old_executables_test.dart View 2 chunks +3 lines, -2 lines 0 comments Download
M sdk/lib/_internal/pub/test/global/binstubs/removes_even_if_not_in_pubspec_test.dart View 2 chunks +2 lines, -1 line 0 comments Download
M sdk/lib/_internal/pub/test/global/binstubs/removes_when_deactivated_test.dart View 2 chunks +3 lines, -2 lines 0 comments Download
A sdk/lib/_internal/pub/test/global/binstubs/utils.dart View 1 chunk +13 lines, -0 lines 0 comments Download
M sdk/lib/_internal/pub_generated/bin/async_compile.dart View 2 chunks +18 lines, -9 lines 0 comments Download
M sdk/lib/_internal/pub_generated/lib/src/global_packages.dart View 3 chunks +4 lines, -8 lines 0 comments Download
M sdk/lib/_internal/pub_generated/test/global/binstubs/binstub_runs_executable_test.dart View 3 chunks +3 lines, -2 lines 0 comments Download
M sdk/lib/_internal/pub_generated/test/global/binstubs/binstub_runs_global_run_if_no_snapshot_test.dart View 2 chunks +2 lines, -1 line 0 comments Download
M sdk/lib/_internal/pub_generated/test/global/binstubs/binstub_runs_precompiled_snapshot_test.dart View 2 chunks +5 lines, -1 line 0 comments Download
M sdk/lib/_internal/pub_generated/test/global/binstubs/creates_executables_in_pubspec_test.dart View 2 chunks +5 lines, -4 lines 0 comments Download
M sdk/lib/_internal/pub_generated/test/global/binstubs/explicit_executables_test.dart View 2 chunks +6 lines, -3 lines 0 comments Download
M sdk/lib/_internal/pub_generated/test/global/binstubs/missing_script_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M sdk/lib/_internal/pub_generated/test/global/binstubs/name_collision_test.dart View 2 chunks +5 lines, -4 lines 0 comments Download
M sdk/lib/_internal/pub_generated/test/global/binstubs/name_collision_with_overwrite_test.dart View 2 chunks +5 lines, -4 lines 0 comments Download
M sdk/lib/_internal/pub_generated/test/global/binstubs/no_executables_flag_test.dart View 2 chunks +4 lines, -1 line 0 comments Download
M sdk/lib/_internal/pub_generated/test/global/binstubs/path_package_test.dart View 2 chunks +5 lines, -1 line 0 comments Download
M sdk/lib/_internal/pub_generated/test/global/binstubs/reactivate_removes_old_executables_test.dart View 2 chunks +4 lines, -1 line 0 comments Download
M sdk/lib/_internal/pub_generated/test/global/binstubs/removes_even_if_not_in_pubspec_test.dart View 2 chunks +4 lines, -1 line 0 comments Download
M sdk/lib/_internal/pub_generated/test/global/binstubs/removes_when_deactivated_test.dart View 2 chunks +5 lines, -1 line 0 comments Download
A sdk/lib/_internal/pub_generated/test/global/binstubs/utils.dart View 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 5 (1 generated)
Bob Nystrom
TBR.
6 years, 2 months ago (2014-09-25 05:39:00 UTC) #2
Bob Nystrom
Committed patchset #2 (id:20001) manually as 40667 (presubmit successful).
6 years, 2 months ago (2014-09-25 05:43:38 UTC) #3
nweiz
lgtm https://codereview.chromium.org/599343003/diff/20001/sdk/lib/_internal/pub/lib/src/global_packages.dart File sdk/lib/_internal/pub/lib/src/global_packages.dart (left): https://codereview.chromium.org/599343003/diff/20001/sdk/lib/_internal/pub/lib/src/global_packages.dart#oldcode634 sdk/lib/_internal/pub/lib/src/global_packages.dart:634: } Why not include "%APPDATA%"?
6 years, 2 months ago (2014-09-25 19:41:14 UTC) #4
Bob Nystrom
6 years, 2 months ago (2014-09-25 19:48:16 UTC) #5
Message was sent while issue was closed.
https://codereview.chromium.org/599343003/diff/20001/sdk/lib/_internal/pub/li...
File sdk/lib/_internal/pub/lib/src/global_packages.dart (left):

https://codereview.chromium.org/599343003/diff/20001/sdk/lib/_internal/pub/li...
sdk/lib/_internal/pub/lib/src/global_packages.dart:634: }
On 2014/09/25 19:41:14, nweiz wrote:
> Why not include "%APPDATA%"?

On POSIX, you'll be adding to your path in a shell script which does path
expansion for you. On Windows, you're configuring the Path environment variable
directly as a raw string and (I believe), it doesn't handle any environment
variables. None of the other paths I saw in mine had any, so I figured using the
full path was safest.

Powered by Google App Engine
This is Rietveld 408576698