mirror of
https://github.com/dart-lang/sdk
synced 2024-09-15 22:00:09 +00:00
c5f4af4df6
This CL reworks the task model grapher (formerly at pkg/analyzer/tool/task_dependency_graph.dart, now at pkg/analyzer/tool/task_dependency_graph/generate.dart) so that it works similarly to the code generation in the analysis server. Namely, the output file is stored in source control (pkg/analyzer/tool/task_dependency_graph/tasks.dot), and a test run by the buildbots verifies that it is up to date. If it is not, the test outputs the command necessary to update it. This carries the benefit that: - Anyone with access to an installation of graphviz can generate the task model graph easily from its .dot file. - Any time a change occurs that affects task model dependencies, a test failure will prompt us that we need to generate a new .dot file. - If a change ever occurs that breaks the ability of the task dependency grapher to produce the graph, a test failure will prompt us. The downside is that when making a change that affects task model dependencies, it is now necessary to re-run the script pkg/analyzer/tool/task_dependency_graph/generate.dart to avoid a test failure. R=brianwilkerson@google.com, scheglov@google.com Review URL: https://codereview.chromium.org/1408743006 . |
||
---|---|---|
client | ||
docs/language | ||
pkg | ||
runtime | ||
samples | ||
samples-dev | ||
sdk | ||
site/try | ||
tests | ||
third_party | ||
tools | ||
utils | ||
.gitattributes | ||
.gitignore | ||
.mailmap | ||
AUTHORS | ||
CHANGELOG.md | ||
codereview.settings | ||
create_sdk.gyp | ||
dart.gyp | ||
DEPS | ||
LICENSE | ||
PATENTS | ||
PRESUBMIT.py | ||
README.dart-sdk | ||
README.md | ||
WATCHLISTS |
Dart
Dart is an open-source, scalable programming language, with robust libraries and runtimes, for building web, server, and mobile apps.
Using Dart
Visit the dartlang.org to learn more about the language, tools, getting started, and more.
Browse pub.dartlang.org for more packages and libraries contributed by the community and the Dart team.
Building Dart
Learn how to get the source and prepare your machine to build the SDK.
There are more documents on our wiki.
Contributing to Dart
The easiest way to contribute to Dart is to file issues.
You can also contribute patches, as described in Contributing.
License
See LICENSE.