Commit graph

19 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
Jacob Richman b5d53b5348 Fix spew when running presubmit which triggers dartfmt.bat on windows. We should also backport this change to the sdks in tools/sdk or roll a new version of the tools/sdk
Error span you otherwise get with each dartfmt invocation:

find: ‘>     bin [’: No such file or directory

Note that the error doesn't occur all times dartfmt is run, only when it is
run from the directory triggered by the presubmit.

BUG=
R=rnystrom@google.com, whesse@google.com

Review-Url: https://codereview.chromium.org/2759333004 .
2017-03-28 08:30:10 -07:00
Johnni Winther 40108f661d Update Windows build output path in .bat files
R=asiva@google.com, whesse@google.com

Review URL: https://codereview.chromium.org/2035313004 .
2016-06-07 10:43:13 +02:00
John McDole 8720ec869d Fix windows + gitbash (#25712)
* work with gitbash

* gitbash

* gitbash

* gitbash

* gitbash
2016-05-02 12:47:48 +02:00
keertip fe5550e934 fix dartdoc.bat
BUG=

Review URL: https://codereview.chromium.org//1318603006 .
2015-09-01 10:42:22 -07: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
alanknight@google.com 3730236bdf Add a snapshot for docgen and use it in the build
R=efortuna@google.com, ricow@google.com, rnystrom@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32025 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-27 18:40:34 +00:00
rnystrom@google.com d29b18d25f Add --library-root to dartdoc invocation.
BUG=
R=dgrove@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23723 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-06 23:54:22 +00:00
rnystrom@google.com 2dbaddda1b Make dartdoc.bat work with snapshots and run in the repo.
This supercedes https://codereview.chromium.org/16415003/.

BUG=
R=dgrove@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23722 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-06 22:53:54 +00:00
nweiz@google.com 70f8c7ab6e Work around issue 9499.
Review URL: https://codereview.chromium.org//13236002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20648 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-28 21:31:49 +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
devoncarew@google.com e8ae255074 Disabling snapshots on windows for dartdoc and dart2js.
When run, we get the error message: \dart\dart-sdk\bin\dart2js.snapshot was unexpected at this time.
Review URL: https://codereview.chromium.org//11308346

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15693 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-04 15:48:48 +00:00
dgrove@google.com 2d8076e725 Add scripts equivalent to the macos/linux scripts in sdk/bin.
Review URL: https://codereview.chromium.org//11366180

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14775 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-10 02:01:46 +00:00