Skip to content

Commit ab0b3c0

Browse files
committed
fix: add missing recipe data to bundle rule
1 parent fdea8b0 commit ab0b3c0

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

ecsact/private/ecsact_build_recipe.bzl

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,11 +119,15 @@ def _ecsact_build_recipe_bundle(ctx):
119119

120120
executable = ecsact_toolchain.target_tool if ecsact_toolchain.target_tool != None else ecsact_toolchain.target_tool_path
121121

122+
recipes_data = []
123+
for recipe in ctx.attr.recipes:
124+
recipes_data.extend(recipe[EcsactBuildRecipeInfo].data)
125+
122126
ctx.actions.run(
123127
mnemonic = "EcsactRecipeBundle",
124128
progress_message = "Bundling Ecsact Build Recipe %{output}",
125129
outputs = [bundle_output_file],
126-
inputs = ctx.files.recipes,
130+
inputs = ctx.files.recipes + recipes_data,
127131
executable = executable,
128132
arguments = [args],
129133
toolchain = Label("//ecsact:toolchain_type"),

0 commit comments

Comments
 (0)