commit | e9590179fe412e59296685997e7182e7eed77e93 | [log] [tgz] |
---|---|---|
author | Jackson Gardner <jacksongardner@google.com> | Thu Jan 25 21:00:47 2024 +0000 |
committer | Commit Queue <dart-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Jan 25 21:00:47 2024 +0000 |
tree | 6237134fd247d40fd4159328c6d77dad6d1ebe68 | |
parent | 14c0f4211833cc4bb14e813441ba70e4026eefd4 [diff] |
Revert "Refactor PubWorkspace into PackageConfigWorkspace" This reverts commit 43fb59f4dc1991863982d5805d2551ed9fb3a28d. Reason for revert: Breaking Dart SDK -> Flutter Engine roller. See https://github.com/flutter/flutter/issues/142253 Original change's description: > Refactor PubWorkspace into PackageConfigWorkspace > > - use package_config.json as marker file for workspace. > - workspace can have multiple packages, they can be either PubPackages (marker pubspec.yaml) or BasicWorkspace. > - add package info (pubspec) to resolution salt. > - removed duplication of finding package_config.json from ContextLocator, as this is now done while creating workspace. > - some test/s setup/expectations were changed since we now use package config as marker for workspace instead of pubspec. > > Change-Id: I091a4a686c6b1d8c14858aefd9843a8d9c8efa25 > Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/345346 > Reviewed-by: Brian Wilkerson <brianwilkerson@google.com> > Commit-Queue: Keerti Parthasarathy <keertip@google.com> > Reviewed-by: Konstantin Shcheglov <scheglov@google.com> Change-Id: I59adf5b26d25e360bcf962323db688156774c767 No-Presubmit: true No-Tree-Checks: true No-Try: true Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/348364 Reviewed-by: Brian Wilkerson <brianwilkerson@google.com> Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com> Commit-Queue: Jackson Gardner <jacksongardner@google.com>
Dart is:
Approachable: Develop with a strongly typed programming language that is consistent, concise, and offers modern language features like null safety and patterns.
Portable: Compile to ARM, x64, or RISC-V machine code for mobile, desktop, and backend. Compile to JavaScript or WebAssembly for the web.
Productive: Make changes iteratively: use hot reload to see the result instantly in your running app. Diagnose app issues using DevTools.
Dart's flexible compiler technology lets you run Dart code in different ways, depending on your target platform and goals:
Dart Native: For programs targeting devices (mobile, desktop, server, and more), Dart Native includes both a Dart VM with JIT (just-in-time) compilation and an AOT (ahead-of-time) compiler for producing machine code.
Dart Web: For programs targeting the web, Dart Web includes both a development time compiler (dartdevc) and a production time compiler (dart2js).
Dart is free and open source.
See LICENSE and PATENT_GRANT.
Visit dart.dev to learn more about the language, tools, and to find codelabs.
Browse pub.dev for more packages and libraries contributed by the community and the Dart team.
Our API reference documentation is published at api.dart.dev, based on the stable release. (We also publish docs from our beta and dev channels, as well as from the primary development branch).
If you want to build Dart yourself, here is a guide to getting the source, preparing your machine to build the SDK, and building.
There are more documents on our wiki.
The easiest way to contribute to Dart is to file issues.
You can also contribute patches, as described in Contributing.