dart-sdk/pkg/dartdev
Derek Xu be04ce25ca [CLI] Ensure that resident frontend compilers never try to compile kernel files or snapshots
Refer to the magic numbers in https://github.com/dart-lang/sdk/blob/main/runtime/bin/dartutils.cc

TEST=pkg/dartdev/test/resident_frontend_utils_test.dart, manual testing

Issue: https://github.com/dart-lang/sdk/issues/54245
Fixes: https://github.com/dart-lang/sdk/issues/49694
Change-Id: I3ba67f4a68898c3f8b24d19a7516e3d8713d886d
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/359921
Reviewed-by: Ben Konyi <bkonyi@google.com>
Commit-Queue: Derek Xu <derekx@google.com>
2024-04-03 19:38:02 +00:00
..
bin [ CLI ] Migrate package:dartdev to null safety 2022-01-26 21:16:49 +00:00
doc Link to dart fix docs 2023-10-26 14:13:43 +00:00
lib [CLI] Ensure that resident frontend compilers never try to compile kernel files or snapshots 2024-04-03 19:38:02 +00:00
test [CLI] Ensure that resident frontend compilers never try to compile kernel files or snapshots 2024-04-03 19:38:02 +00:00
tool [deps] roll package:lints to the latest 2023-10-05 03:36:59 +00:00
.gitignore rev the build of devtools; add a 'dart devtools' command 2021-08-20 16:25:24 +00:00
analysis_options.yaml [pkg] remove duplicate config from the analysis options files 2023-11-14 00:37:53 +00:00
CHANGELOG.md
LICENSE Update LICENSE 2021-04-07 10:28:38 +00:00
OWNERS [infra] Add OWNERS to the Dart SDK 2022-02-14 14:06:34 +00:00
pubspec.yaml [vm] Make dart run --resident work in SDK checkout 2024-03-19 11:58:05 +00:00
README.md pkg/dartdev: fix readme link 2022-11-09 03:12:26 +00:00

Dart CLI tooling

A command-line utility for Dart development.

Usage: dart [vm-options] <command|dart-file> [arguments]

Global options:
-h, --help                 Print this usage information.
-v, --verbose              Show additional command output.
    --version              Print the Dart SDK version.
    --enable-analytics     Enable analytics.
    --disable-analytics    Disable analytics.

Available commands:
  analyze   Analyze the project's Dart code.
  compile   Compile Dart to various formats.
  create    Create a new project.
  format    Idiomatically format Dart source code.
  pub       Work with packages.
  run       Run a Dart program.
  test      Run tests in this package.

Run "dart help <command>" for more information about a command.
See https://dart.dev/tools/dart-tool for detailed documentation.

Contributing

If you'd like to contribute to the Dart CLI tool, please start by reading the contribution guidelines for the Dart project. Then familiarize yourself with the design principles that guide this tool's UX.

Features and bugs

Please file feature requests and bugs in the Dart SDK issue tracker with label area-dart-cli.