view assets/BUILD @ 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 9c2eec61a152
children
line wrap: on
line source

load("//gui_ze:gui_ze.bzl", "webp_image")

_ICON_ASSETS = [
    "binder",
    "bold",
    "book",
    "cabinet",
    "clipy",
    "h1",
    "h2",
    "h3",
    "link",
    "open-book",
]

[
    webp_image(
        name = "webp_{}".format(asset.replace("-", "_")),
        src = "png/{}.png".format(asset),
        out = "generated_icons/{}.webp".format(asset),
        lossless = True,
    )
    for asset in _ICON_ASSETS
]

filegroup(
    name = "icons",
    srcs = [
        ":webp_{}".format(asset.replace("-", "_"))
        for asset in _ICON_ASSETS
    ],
    visibility = ["//visibility:public"],
)