Mercurial
view playground/BUILD @ 14:0570ada19343
misc file removal.
| author | June Park <parkjune1995@gmail.com> |
|---|---|
| date | Thu, 02 Oct 2025 14:41:06 -0700 |
| parents | de54585a40f1 |
| children | 2b9e75756825 |
line wrap: on
line source
load("@rules_cc//cc:cc_binary.bzl", "cc_binary") load("//gui_ze:gui_ze.bzl", "bun_build", "move_to_directory") alias( name = "playground", actual = select({ "@platforms//os:osx": ":playground_osx", }) ) cc_binary( name = "playground_osx", srcs = ["main.c"], ) # TODO: Testing out if I can create a symlink for this. move_to_directory( name = "node_modules", data = ["//third_party/bun:node_modules"], dest = "", ) filegroup( name = "all_ts_files", srcs = glob([ "**/*.ts", "**/*.tsx", "**/*.js", "**/*.jsx", ], allow_empty=True) ) bun_build( name = "playground_tsx", src = "main.ts", data = ["//third_party/bun:node_modules", ":all_ts_files"], visibility = ["//visibility:public"], )