Skip to content

Commit

Permalink
Merge pull request #12 from chrisirhc/chua/11-12-fix-rules-pkg
Browse files Browse the repository at this point in the history
unblock upgrading to rules_pkg 0.10
  • Loading branch information
yanndegat authored Nov 12, 2024
2 parents 41a8a3d + 3972799 commit 3772059
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tf/rules/tf-module.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,15 @@ def _artifact_impl(ctx):
package = ctx.attr.package,
),
ctx.attr.module[TfModuleInfo],
ctx.attr.package[PackageArtifactInfo],
ctx.attr.package[OutputGroupInfo],
]


tf_artifact = rule(
implementation = _artifact_impl,
attrs = {
"module": attr.label(providers = [TfModuleInfo], mandatory = True,),
"package": attr.label(providers = [PackageArtifactInfo], mandatory = True, allow_single_file = True),
"package": attr.label(providers = [OutputGroupInfo], mandatory = True, allow_single_file = True),
},
)

Expand Down

0 comments on commit 3772059

Please sign in to comment.