Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using build_runner to generate files #378

Open
JesseRiemens opened this issue May 7, 2024 · 1 comment
Open

Using build_runner to generate files #378

JesseRiemens opened this issue May 7, 2024 · 1 comment

Comments

@JesseRiemens
Copy link

I'm not sure if this has ever been pondered about, but in my build system I would like to generate the remote objects at build time, and not commit them to the repository. As I am already using build_runner, it would be nice to also generate (remote) objects with build_runner. Was this ever attempted, and what challenges are there?

I was thinking about using a directory (for example remote_interface_definitions) containing symlinks to the locations of the interface definitions to be generated, and checking these into git. Is there maybe a better approach?

Any suggestions for a robust implementation are appreciated!

@robert-ancell
Copy link
Contributor

It hasn't been investigated but yes, I think it would be useful to have the DBus interfaces generated at build time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants