Commit graph

9 commits

Author SHA1 Message Date
Zachary Anderson ac16656161 Remove MIPS support
R=asiva@google.com

Review-Url: https://codereview.chromium.org/2858623002 .
2017-06-22 08:49:22 -07:00
William Hesse 634e5a1d02 Refs #25328 Use a portable shebang
BSD systems don't place bash in /bin and a lot of the dart tools
hardcode a #!/bin/bash shebang that fails the 'all' target build
(not able to execute dart2js since the interpreter is not found).

Solve the issue by using #!/usr/bin/env as the shebang. For scripts
that need to pass arguments to bash modify the script to use the set
command as the first executed line of shell.

BUG=
R=whesse@google.com

Review URL: https://codereview.chromium.org/1552313002 .
2016-01-05 16:26:28 +01:00
William Hesse 73dfc7afe0 Change to X64 default build in tool scripts in sdk/bin
BUG=
R=sgjesse@google.com

Review URL: https://codereview.chromium.org/1535553003 .
2015-12-17 14:49:19 +01:00
Stan Manilov ac8a228d0b sdk/dart now detects an available build
The shell scripts in sdk/sdk are using ReleaseIA32 as the default build
configuration in the case one is not provided as an environment
variable. This is arbitrary so a check of the available builds is
performed and if ReleaseIA32 is available it is selected. Otherwise, an
arbitrary configuration is selected (currently the last one
lexicographically). In the case where there are no subfolders in the
"out" folder, ReleaseIA32 is selected, in order to produce the same
error that used to be produced before (this can be changed to a custom
message for user-friendliness).

Currently only the "dart" shell script is changed and if the change is
accepted, the others will be changed too.

R=floitsch@google.com, zerny@google.com

Review URL: https://codereview.chromium.org//1276333002 .
2015-08-12 15:19:23 +02:00
nweiz@google.com 326891de60 Support symlinking to dart-sdk executables on Linux and Mac.
R=ahe@google.com, brianwilkerson@google.com, rnystrom@google.com
BUG=9409

Review URL: https://codereview.chromium.org//68503004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30287 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-14 19:28:07 +00:00
ricow@google.com 38668d12a1 Revert revision 23438.
Revision 23438 is disabling the ability to run dart2js from the repo without building the sdk.
Lets discuss how we fix this for pub without having to build the sdk.

R=kasperl@google.com

Review URL: https://codereview.chromium.org//16322002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23523 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-03 07:30:20 +00:00
rnystrom@google.com be25032ea4 Make bin/pub script work when run from the repo.
BUG=https://code.google.com/p/dart/issues/detail?id=10928
R=dgrove@google.com, nweiz@google.com

Review URL: https://codereview.chromium.org//15949005

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23438 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-30 19:36:52 +00:00
sra@google.com 33478d857f Fix shell bug in sdk/bin/dart
Don't use arithmetic comparison on strings!

Review URL: https://codereview.chromium.org//11348265

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15430 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-28 01:19:56 +00:00
dgrove@google.com 65db39f5cf Create wrappers for MacOS/Linux to allow sdk "binaries" to be
run from the repo.
Review URL: https://codereview.chromium.org//11381003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14764 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-09 23:04:42 +00:00