diff mrjunejune/BUILD @ 12:de54585a40f1

Adding bun and node modules.
author June Park <parkjune1995@gmail.com>
date Thu, 02 Oct 2025 14:39:48 -0700
parents 114cad94008f
children 2b9e75756825
line wrap: on
line diff
--- a/mrjunejune/BUILD	Tue Sep 30 05:01:34 2025 -0700
+++ b/mrjunejune/BUILD	Thu Oct 02 14:39:48 2025 -0700
@@ -1,14 +1,23 @@
 load("@rules_cc//cc:cc_binary.bzl", "cc_binary")
 load("@rules_cc//cc:cc_library.bzl", "cc_library")
+load("//gui_ze:gui_ze.bzl", "move_files_into_dir_precompile")
+
+move_files_into_dir(
+  name = "compiled_ts",
+  src = [
+    "//playground:playground_tsx",
+  ],
+  dest = "pages",
+)
 
 filegroup(
   name = "pages_files",
-  srcs = glob(["pages/**"]),
+  srcs = glob(["pages/**"]) + [":compiled_ts"],
 )
 
 cc_binary(
-  name = "mrjunejune",
+  name = "mrjunejune_server",
   srcs = ["main.c"],
   deps = ["//seobeo:seobeo"],
-  data = glob(["pages/**"]) + ["//seobeo:seobeo_headers"],
+  data = [":pages_files"],
 )