view playground/BUILD @ 17:d97ec3ded2ae

[Seobeo] Few changes... - Fixed seobeo edge for macos - Updated so that socket creation can be used for both client and server - Started on a cutelient library for making connection to the server.
author June Park <parkjune1995@gmail.com>
date Sat, 04 Oct 2025 07:53:12 -0700
parents 2b9e75756825
children fa2b8af609d9
line wrap: on
line source

load("@rules_cc//cc:cc_binary.bzl", "cc_binary")
load("//gui_ze:gui_ze.bzl", "bun_build")

alias(
  name = "playground",
  actual = select({
    "@platforms//os:osx": ":playground_osx",
  })
)

cc_binary(
  name = "playground_osx",
  srcs = ["main.c"],
)

filegroup(
  name = "all_ts_files",
  srcs = glob([
      "**/*.ts",
      "**/*.tsx",
      "**/*.js",
      "**/*.jsx",
  ], allow_empty=True)
)

bun_build(
  name = "hello",
  src = "main.ts",
  data = ["//third_party/bun:node_modules", ":all_ts_files"],
  visibility = ["//visibility:public"],
)