view mrjunejune/inference/python_zip.bzl @ 262:0f45474c1b1a

Add cyberpunk JRPG blog browser Show the latest posts in the JRPG preview and render the full blog archive and sanitized post details in the Inspect modal. Co-authored-by: Copilot <[email protected]>
author MrJuneJune <mrjunejune@users.noreply.github.com>
date Thu, 06 Aug 2026 04:08:45 -0700
parents 1f9877b637e9
children
line wrap: on
line source

def _python_zip_file_impl(ctx):
  files = ctx.attr.binary[OutputGroupInfo].python_zip_file
  return DefaultInfo(
      files = files,
      runfiles = ctx.runfiles(files = files.to_list()),
  )

python_zip_file = rule(
  implementation = _python_zip_file_impl,
  attrs = {
    "binary": attr.label(
      mandatory = True,
      providers = [OutputGroupInfo],
    ),
  },
)