Skip to content

Export com-api-example config for external bundling#542

Draft
Subramanian-K812 wants to merge 1 commit into
eclipse-score:mainfrom
qorix-group:Subramanian-K812_expose_comm_rust_config
Draft

Export com-api-example config for external bundling#542
Subramanian-K812 wants to merge 1 commit into
eclipse-score:mainfrom
qorix-group:Subramanian-K812_expose_comm_rust_config

Conversation

@Subramanian-K812

Copy link
Copy Markdown

Summary

Adds an exports_files rule to score/mw/com/example/com-api-example/BUILD
to make the etc/mw_com_config.json config file accessible to external packages.

Why

The com-api-example binary requires its mw_com_config.json at runtime. When
the binary is referenced externally (e.g. in a showcase bundle), the config file
must also be reachable via @score_communication//score/mw/com/example/com-api-example:etc/mw_com_config.json.
Without exports_files, Bazel blocks external access to the file even though the
binary target itself is already public.

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

Successfully merging this pull request may close these issues.

1 participant