dart-sdk/pkg/dtd_impl
Kenzie Schmoll cfe3217378 Add getProjectRoots API to DTD
Bug: https://github.com/flutter/devtools/issues/7366
Change-Id: If0631f387306312655bdcbefe961692b00a7b4dc
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/359320
Commit-Queue: Kenzie Davisson <kenzieschmoll@google.com>
Reviewed-by: Dan Chevalier <danchevalier@google.com>
Reviewed-by: Polina Cherkasova <polinach@google.com>
Reviewed-by: Ben Konyi <bkonyi@google.com>
2024-03-25 19:52:21 +00:00
..
bin Turn off default logging for dtd daemon 2024-03-19 17:03:20 +00:00
lib Add getProjectRoots API to DTD 2024-03-25 19:52:21 +00:00
test Add obfuscation token to DTD uri 2024-03-07 19:33:19 +00:00
.gitignore
analysis_options.yaml Connecting DTD and DTD_impl together. 2023-12-19 15:36:22 +00:00
CHANGELOG.md
dtd_protocol.md Add getProjectRoots API to DTD 2024-03-25 19:52:21 +00:00
LICENSE
OWNERS
pubspec.yaml Add getProjectRoots API to DTD 2024-03-25 19:52:21 +00:00
README.md Solidify dtd lifecycle 2024-02-13 16:17:18 +00:00

Dart Tooling Daemon

The server implementation for the Dart Tooling Daemon. This is meant to be run by our internal tooling and facilitates communication between our internal tools.

For details on the protocol used to communicate with the Dart Tooling Daemon see The DTD Protocol

Running the Dart Tooling Daemon

Compiled version

To run the tooling daemon compiled with the Dart SDK:

  1. Build the Dart SDK
  • make sure to build with create_platform_sdk
  • e.g. ./tools/build.py create_platform_sdk
  1. run dart tooling-daemon

    :info The dart binary should be the one you just built in step 1.

Testing changes

To quickly test changes to the tooling daemon, start it by running:

dart run bin/dtd.dart