diff mrjunejune/BUILD @ 158:1c0878eb17de

[MrJuneJune] Readme file gets compiled in server side.
author June Park <parkjune1995@gmail.com>
date Wed, 14 Jan 2026 07:59:19 -0800
parents bdcc610eeed8
children 295ac2e5ec00
line wrap: on
line diff
--- a/mrjunejune/BUILD	Tue Jan 13 19:18:47 2026 -0800
+++ b/mrjunejune/BUILD	Wed Jan 14 07:59:19 2026 -0800
@@ -4,7 +4,7 @@
 
 # Files
 move_files_into_dir(
-  name = "compiled_ts_games",
+  name = "react_pages",
   srcs = [
     "//react_games:games"
   ],
@@ -12,17 +12,24 @@
 )
 
 move_files_into_dir(
-  name = "compiled_ts",
+  name = "shared_js_non_public",
   srcs = [
     "//markdown_converter:markdown_to_html",
-    "//markdown_converter:markdown_to_html_wasm",
   ],
   dest = "src",
 )
 
+move_files_into_dir(
+  name = "shared_js_file",
+  srcs = [
+    "//third_party/highlight:js",
+  ],
+  dest = "src/public/highlight",
+)
+    
 filegroup(
   name = "src_files",
-  srcs = glob(["src/**"]) + [":compiled_ts", ":compiled_ts_games"],
+  srcs = glob(["src/**"]) + [":react_pages", ":shared_js_non_public", "shared_js_file"],
   visibility = ["//mrjunejune/test:__pkg__"],
 )
 
@@ -30,7 +37,10 @@
 cc_binary(
   name = "mrjunejune_server",
   srcs = ["main.c"],
-  deps = ["//seobeo:seobeo_tcp_server_ws"],
+  deps = [
+    "//seobeo:seobeo_tcp_server_ws",
+    "//markdown_converter:markdown_to_html_c",
+  ],
   data = [":src_files"],
   visibility = ["//mrjunejune/test:__pkg__"],
 )
@@ -39,7 +49,10 @@
 cc_binary(
   name = "mrjunejune_server_debug",
   srcs = ["main.c"],
-  deps = ["//seobeo:seobeo_tcp_server_ws_debug"],
+  deps = [
+    "//seobeo:seobeo_tcp_server_ws_debug", 
+    "//markdown_converter:markdown_to_html_c"
+  ],
   data = [":src_files"],
 )