annotate playground/BUILD @ 13:53f2c3764efc

removing unused folder.
author June Park <parkjune1995@gmail.com>
date Thu, 02 Oct 2025 14:40:43 -0700
parents de54585a40f1
children 2b9e75756825
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1
adcfad6e86fb Updated naming and separated out some logic within seobeo.
June Park <parkjune1995@gmail.com>
parents:
diff changeset
1 load("@rules_cc//cc:cc_binary.bzl", "cc_binary")
12
de54585a40f1 Adding bun and node modules.
June Park <parkjune1995@gmail.com>
parents: 1
diff changeset
2 load("//gui_ze:gui_ze.bzl", "bun_build", "move_to_directory")
1
adcfad6e86fb Updated naming and separated out some logic within seobeo.
June Park <parkjune1995@gmail.com>
parents:
diff changeset
3
adcfad6e86fb Updated naming and separated out some logic within seobeo.
June Park <parkjune1995@gmail.com>
parents:
diff changeset
4 alias(
adcfad6e86fb Updated naming and separated out some logic within seobeo.
June Park <parkjune1995@gmail.com>
parents:
diff changeset
5 name = "playground",
adcfad6e86fb Updated naming and separated out some logic within seobeo.
June Park <parkjune1995@gmail.com>
parents:
diff changeset
6 actual = select({
adcfad6e86fb Updated naming and separated out some logic within seobeo.
June Park <parkjune1995@gmail.com>
parents:
diff changeset
7 "@platforms//os:osx": ":playground_osx",
adcfad6e86fb Updated naming and separated out some logic within seobeo.
June Park <parkjune1995@gmail.com>
parents:
diff changeset
8 })
adcfad6e86fb Updated naming and separated out some logic within seobeo.
June Park <parkjune1995@gmail.com>
parents:
diff changeset
9 )
adcfad6e86fb Updated naming and separated out some logic within seobeo.
June Park <parkjune1995@gmail.com>
parents:
diff changeset
10
adcfad6e86fb Updated naming and separated out some logic within seobeo.
June Park <parkjune1995@gmail.com>
parents:
diff changeset
11 cc_binary(
adcfad6e86fb Updated naming and separated out some logic within seobeo.
June Park <parkjune1995@gmail.com>
parents:
diff changeset
12 name = "playground_osx",
adcfad6e86fb Updated naming and separated out some logic within seobeo.
June Park <parkjune1995@gmail.com>
parents:
diff changeset
13 srcs = ["main.c"],
12
de54585a40f1 Adding bun and node modules.
June Park <parkjune1995@gmail.com>
parents: 1
diff changeset
14 )
de54585a40f1 Adding bun and node modules.
June Park <parkjune1995@gmail.com>
parents: 1
diff changeset
15
de54585a40f1 Adding bun and node modules.
June Park <parkjune1995@gmail.com>
parents: 1
diff changeset
16 # TODO: Testing out if I can create a symlink for this.
de54585a40f1 Adding bun and node modules.
June Park <parkjune1995@gmail.com>
parents: 1
diff changeset
17 move_to_directory(
de54585a40f1 Adding bun and node modules.
June Park <parkjune1995@gmail.com>
parents: 1
diff changeset
18 name = "node_modules",
de54585a40f1 Adding bun and node modules.
June Park <parkjune1995@gmail.com>
parents: 1
diff changeset
19 data = ["//third_party/bun:node_modules"],
de54585a40f1 Adding bun and node modules.
June Park <parkjune1995@gmail.com>
parents: 1
diff changeset
20 dest = "",
1
adcfad6e86fb Updated naming and separated out some logic within seobeo.
June Park <parkjune1995@gmail.com>
parents:
diff changeset
21 )
12
de54585a40f1 Adding bun and node modules.
June Park <parkjune1995@gmail.com>
parents: 1
diff changeset
22
de54585a40f1 Adding bun and node modules.
June Park <parkjune1995@gmail.com>
parents: 1
diff changeset
23 filegroup(
de54585a40f1 Adding bun and node modules.
June Park <parkjune1995@gmail.com>
parents: 1
diff changeset
24 name = "all_ts_files",
de54585a40f1 Adding bun and node modules.
June Park <parkjune1995@gmail.com>
parents: 1
diff changeset
25 srcs = glob([
de54585a40f1 Adding bun and node modules.
June Park <parkjune1995@gmail.com>
parents: 1
diff changeset
26 "**/*.ts",
de54585a40f1 Adding bun and node modules.
June Park <parkjune1995@gmail.com>
parents: 1
diff changeset
27 "**/*.tsx",
de54585a40f1 Adding bun and node modules.
June Park <parkjune1995@gmail.com>
parents: 1
diff changeset
28 "**/*.js",
de54585a40f1 Adding bun and node modules.
June Park <parkjune1995@gmail.com>
parents: 1
diff changeset
29 "**/*.jsx",
de54585a40f1 Adding bun and node modules.
June Park <parkjune1995@gmail.com>
parents: 1
diff changeset
30 ], allow_empty=True)
de54585a40f1 Adding bun and node modules.
June Park <parkjune1995@gmail.com>
parents: 1
diff changeset
31 )
de54585a40f1 Adding bun and node modules.
June Park <parkjune1995@gmail.com>
parents: 1
diff changeset
32
de54585a40f1 Adding bun and node modules.
June Park <parkjune1995@gmail.com>
parents: 1
diff changeset
33 bun_build(
de54585a40f1 Adding bun and node modules.
June Park <parkjune1995@gmail.com>
parents: 1
diff changeset
34 name = "playground_tsx",
de54585a40f1 Adding bun and node modules.
June Park <parkjune1995@gmail.com>
parents: 1
diff changeset
35 src = "main.ts",
de54585a40f1 Adding bun and node modules.
June Park <parkjune1995@gmail.com>
parents: 1
diff changeset
36 data = ["//third_party/bun:node_modules", ":all_ts_files"],
de54585a40f1 Adding bun and node modules.
June Park <parkjune1995@gmail.com>
parents: 1
diff changeset
37 visibility = ["//visibility:public"],
de54585a40f1 Adding bun and node modules.
June Park <parkjune1995@gmail.com>
parents: 1
diff changeset
38 )