rules_dart icon indicating copy to clipboard operation
rules_dart copied to clipboard

Dart rules for Bazel

Results 15 rules_dart issues
Sort by recently updated
recently updated
newest added

Hello there, I am looking for some advice on how the rules in this repo could be used to create a bazel rule to generate pb.dart files with protoc. I...

question

I also updated GH workflows and added enforcing formatting to CI. Apart from that, I just run `buildifier -r .` in root directory.

GitHub actions now includes Bazelisk, so this should work.

- Rebased `dart_proto_library` branch onto master. - Fixed broken syntax. - Added protobuf deps using [`new_git_repository`](https://docs.bazel.build/versions/main/repo/git.html#new_git_repository)s and overlaid `BUILD` files. Relevant commits: d1bce8d47ddb40039676356a6539fee5b05c8046, a3ba942b3e9605323af12b59dd59947d4703de44 @cbracken what do you think of...

Previously, the Dart SDK had no support for building standalone executables. The two options were: * Running from source * Running from a binary snapshot tied to a particular VM...

enhancement

Can you include an example of how 3rd party dart libaries can be imported?

This would require a lot of the same conditional work we do for macOS/Linux and the addition of batch scripts for Windows.

enhancement

Prior to Dart 2.18, package metadata collected by `pub` was emitted in a package spec (`.packages` file). This contained a mapping of package name to resolved URL (typically a `file`...

enhancement

`dev_server` rule was supported in https://github.com/dart-archive/rules_dart/blob/78a4e1ba257bbe9a9d7a064c8cde8c5317059e17/examples/web_app/BUILD#L40-L46 Any plans on supporting it here?

enhancement