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

Issue 68503004: Support symlinking to dart-sdk executables on Linux and Mac. (Closed)

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

Description

Support symlinking to dart-sdk executables on Linux and Mac. R=ahe@google.com, brianwilkerson@google.com, rnystrom@google.com BUG=9409 Committed: https://code.google.com/p/dart/source/detail?r=30287

Patch Set 1 #

Total comments: 7

Patch Set 2 : code review #

Total comments: 7

Patch Set 3 : remove trailing whitespace #

Unified diffs Side-by-side diffs Delta from patch set Stats (+93 lines, -37 lines) Patch
M sdk/bin/dart View 1 2 1 chunk +16 lines, -5 lines 0 comments Download
M sdk/bin/dart2js View 1 2 1 chunk +5 lines, -4 lines 0 comments Download
M sdk/bin/dartanalyzer View 1 2 1 chunk +15 lines, -4 lines 0 comments Download
M sdk/bin/dartanalyzer_developer View 1 2 2 chunks +11 lines, -10 lines 0 comments Download
M sdk/bin/dartdoc View 1 2 1 chunk +14 lines, -4 lines 0 comments Download
M sdk/bin/pub View 1 2 2 chunks +16 lines, -5 lines 0 comments Download
M sdk/bin/pub_developer View 1 2 2 chunks +16 lines, -5 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
nweiz
7 years, 1 month ago (2013-11-11 23:46:23 UTC) #1
nweiz
I've tested this on Linux and OS X, running the executables directly, through a symlink ...
7 years, 1 month ago (2013-11-11 23:47:29 UTC) #2
Bob Nystrom
+Peter and Brian I think it looks fine, but honestly bash is mostly line noise ...
7 years, 1 month ago (2013-11-12 00:03:46 UTC) #3
ahe
https://codereview.chromium.org/68503004/diff/1/sdk/bin/dart2js File sdk/bin/dart2js (left): https://codereview.chromium.org/68503004/diff/1/sdk/bin/dart2js#oldcode9 sdk/bin/dart2js:9: 1="$(readlink "$1")" This is a bug: it should be ...
7 years, 1 month ago (2013-11-12 10:14:42 UTC) #4
ahe
https://codereview.chromium.org/68503004/diff/1/sdk/bin/dart2js File sdk/bin/dart2js (right): https://codereview.chromium.org/68503004/diff/1/sdk/bin/dart2js#newcode9 sdk/bin/dart2js:9: SCRIPT=`readlink "$0" || echo "$0"` On 2013/11/12 10:14:43, ahe ...
7 years, 1 month ago (2013-11-12 10:15:57 UTC) #5
Brian Wilkerson
LGTM, but like Bob, bash is a foreign language to me
7 years, 1 month ago (2013-11-12 20:14:47 UTC) #6
nweiz
https://codereview.chromium.org/68503004/diff/1/sdk/bin/dart2js File sdk/bin/dart2js (left): https://codereview.chromium.org/68503004/diff/1/sdk/bin/dart2js#oldcode9 sdk/bin/dart2js:9: 1="$(readlink "$1")" On 2013/11/12 10:14:43, ahe wrote: > This ...
7 years, 1 month ago (2013-11-12 20:26:39 UTC) #7
ahe
Thank you, Nathan. This is awesome, LGTM! https://codereview.chromium.org/68503004/diff/100001/sdk/bin/dart File sdk/bin/dart (right): https://codereview.chromium.org/68503004/diff/100001/sdk/bin/dart#newcode15 sdk/bin/dart:15: # Unlike ...
7 years, 1 month ago (2013-11-14 15:36:04 UTC) #8
nweiz
Removed trailing whitespace.
7 years, 1 month ago (2013-11-14 19:28:20 UTC) #9
nweiz
7 years, 1 month ago (2013-11-14 19:28:27 UTC) #10
Message was sent while issue was closed.
Committed patchset #3 manually as r30287 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698