Skip to content
This repository was archived by the owner on Jun 20, 2025. It is now read-only.
This repository was archived by the owner on Jun 20, 2025. It is now read-only.

Advice on writing bazel rule for protoc-gen-dart #59

Description

@jdebou

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 am using protobuf and grpc in a flutter app to interact with a c++ engine. Apart from the flutter app, the whole project is managed with bazel.

So far I have been painfully using the method described by the protoc-gen-dart documentation to generate the pb.dart files, but am now looking to fully integrate this step with bazel.

While looking around this repository and the protobuf.dart repository, it appears that this has already been done, but I cannot find any documentation on it.

Any pointer on how to achieve this task would be greatly appreciated.

Cheers.

Joackim

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions