Commit graph

20 commits

Author SHA1 Message Date
Devon Carew 35df96a2e2 [dartdoc] move the dartdoc resources from bin/snapshots/resources/dartdoc to bin/resources/dartdoc
Change-Id: Iad7e9951a222ed205dbca7825ff73f676fb99c2a
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/114220
Reviewed-by: Keerti Parthasarathy <keertip@google.com>
Commit-Queue: Devon Carew <devoncarew@google.com>
2019-08-30 02:50:10 +00:00
asiva bc7220a4fd [VM] Turn dart2 on by default on the command line VM
- make Dart2 the default option for the command line VM
- add option --no-preview-dart-2 as a fallback option to run dart1
- change test scripts to use the executable dart for testing dart2 mode instead of
pkg/vm/tool/dart2
- adjust numerous build and test configurations

Change-Id: Id813fa5b71a89c7ec9335d3f6e83cfc9f35f86e7
Reviewed-on: https://dart-review.googlesource.com/58240
Commit-Queue: Siva Annamalai <asiva@google.com>
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
Reviewed-by: Alexander Thomas <athom@google.com>
Reviewed-by: Nate Bosch <nbosch@google.com>
Reviewed-by: Sigmund Cherem <sigmund@google.com>
Reviewed-by: Vijay Menon <vsm@google.com>
2018-06-18 22:31:32 +00:00
Janice Collins 753d95453c Move to dartdoc 0.20.0 and enable preview-dart-2.
Change-Id: I8e1b7957a416644b8c7d02bee60c248e6c6d9827
Reviewed-on: https://dart-review.googlesource.com/57444
Reviewed-by: Devon Carew <devoncarew@google.com>
Commit-Queue: Janice Collins <jcollins@google.com>
2018-05-30 19:08:41 +00: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
keertip 3865dd8748 create dartdoc snapshot, add to dart-sdk. Also add resources needed to run dartdoc from the sdk.
BUG=
R=whesse@google.com

Review URL: https://codereview.chromium.org//1295073003 .
2015-08-19 08:02:41 -07:00
dgrove@google.com 1b705cbdf0 Remove a few more vestiges of dartdoc.
R=alanknight@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32631 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-12 23:05:52 +00: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
amouravski@google.com 6c96878cda Add dartdoc to the generated utils snapshot.
Lots of bad patches should be fixed in this change.

R=dgrove@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23655 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-05 20:32:11 +00:00
amouravski@google.com d86c72348b Roll back 16364004 and 16206027.
Review URL: https://codereview.chromium.org//16387004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23625 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-05 01:14:04 +00:00
amouravski@google.com 0d1be28061 Add dartdoc to the generated utils snapshot.
This is the same as r23575 (14135007), but fixed.

R=dgrove@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23622 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-05 00:32:31 +00:00
ricow@google.com 604f2ace70 Revert revision 23575.
This is causing failures in the test of dartdoc (on the editor bot)

The reason seems to be that we are generating a temporary nav.dart
file relative to the dartdocPath in sdk/lib/_internal/dartdoc/lib/
which we claim to be part of in
sdk/lib/_internal/dartdoc/lib/src/client/client-static.dart. 

This will not work since actual code has been snapshot.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23583 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-04 09:36:20 +00:00
ricow@google.com 950934a7e7 Add dartdoc to the generated utils snapshot
R=amouravski@google.com, kustermann@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23575 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-04 06:06:29 +00:00
amouravski@google.com f9e2907a23 Revert "Revert "Attempt to re-commit Dartdoc exports.""
This reverts commit 1340ca938883c2810fbc4e6d4ed4c52b68694faf.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21320 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-11 22:42:55 +00:00
amouravski@google.com e492c020ed Revert "Attempt to re-commit Dartdoc exports."
This reverts commit fd5ad9b823fab60724ef00b68beaa7756873ccf0.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21316 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-11 21:21:49 +00:00
amouravski@google.com 362cf71a5c Attempt to re-commit Dartdoc exports.
Review URL: https://codereview.chromium.org//14088002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21313 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-11 21:14:15 +00:00
nweiz@google.com e1ac688441 Set the correct package-root for dartdoc.
Review URL: https://codereview.chromium.org//13231002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20647 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-28 21:16:19 +00:00
nweiz@google.com c590e8ae0c Switch pkg packages, pub, and dartdoc to use package: imports.
This also changes the SDK layout by replacing the "pkg" directory, which
contained the full source of all the packages needed by pub and dartdoc, with a
"packages" directory that contains only their lib directories. This directory is
used as the package root for pub and dartdoc when run from the SDK.

BUG=6745

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20640 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-28 20:27:28 +00:00
iposva@google.com e8ade81cf7 - Remove the --no-use-inlining flag as it is not beneficial as the compiled programs grow.
Review URL: https://codereview.chromium.org//12386030

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19559 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-06 14:44:18 +00:00
asiva@google.com d313a1243f 1. Change option --use_script_snapshot to --use-script-snapshot (easier to type).
2. Use dart binary with the --generate-script-snapshot option to generate dart2js snapshot
Review URL: https://codereview.chromium.org//12084010

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17686 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-26 05:47: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