Skip to content

Add data attribute to provide additional files to m4#19

Open
mgred wants to merge 2 commits intojmillikin:trunkfrom
mgred:add-data-attr
Open

Add data attribute to provide additional files to m4#19
mgred wants to merge 2 commits intojmillikin:trunkfrom
mgred:add-data-attr

Conversation

@mgred
Copy link

@mgred mgred commented Aug 31, 2025

Hey,

thanks a lot for rules_m4. It works perfectly!
One thing that I think is missing is the ability to add extra files to expansion:

m4(
  name = "foo",
  srcs = ["foo.in.txt"],
  data = glob(["data/*"]),
  m4_options = [
    "-I", "data",
  ],
)

Let me know what you think of this.

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