Mercurial
view playground/BUILD @ 61:9df5587cf23b
[Color game] It can compile on windows now.
| author | June Park <me@mrjunejune.com> |
|---|---|
| date | Sat, 20 Dec 2025 21:07:34 -0500 |
| parents | b212647e8654 |
| children | 75de5903355c |
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"], deps = [ "@openssl//:ssl", ] ) filegroup( name = "all_ts_files", srcs = glob([ "**/*.ts", "**/*.tsx", "**/*.js", "**/*.jsx", ], allow_empty=True) ) bun_build( name = "hello", src = "main.ts", src_folder = "playground", data = [ "//third_party/bun:bun_files", ":all_ts_files", ], visibility = ["//visibility:public"], )