view mrjunejune/inference/python_zip.bzl @ 273:e02e2036ef84 default tip

add Layer 2 JRPG component system Add reusable content and window modals, an isolated component sandbox, shared cyberpunk scroll areas, production-safe cache freshness, and server-rendered JRPG panel state. Co-authored-by: Copilot <[email protected]>
author MrJuneJune <me@mrjunejune.com>
date Sat, 08 Aug 2026 02:08:08 -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],
    ),
  },
)