comparison mrjunejune/BUILD @ 201:6cdee35a7ba9

[MrJuneJune] notes
author MrJuneJune <me@mrjunejune.com>
date Sun, 15 Feb 2026 07:07:50 -0800
parents 90dfcef375fb
children b9b184b3303c
comparison
equal deleted inserted replaced
200:90dfcef375fb 201:6cdee35a7ba9
26 "//third_party/highlight:js", 26 "//third_party/highlight:js",
27 ], 27 ],
28 dest = "src/public/highlight", 28 dest = "src/public/highlight",
29 ) 29 )
30 30
31 move_files_into_dir(
32 name = "rich_editor_js",
33 srcs = [
34 "//rich_editor:rich_editor",
35 ],
36 dest = "src/public/js",
37 )
38
31 filegroup( 39 filegroup(
32 name = "public_files", 40 name = "public_files",
33 srcs = glob(["src/public/*"]), 41 srcs = glob(["src/public/*"]),
34 visibility = ["//visibility:public"], 42 visibility = ["//visibility:public"],
35 ) 43 )
40 visibility = ["//visibility:public"], 48 visibility = ["//visibility:public"],
41 ) 49 )
42 50
43 filegroup( 51 filegroup(
44 name = "src_files", 52 name = "src_files",
45 srcs = glob(["src/**"]) + [":react_pages", ":shared_js_non_public", "shared_js_file"], 53 srcs = glob(["src/**"]) + [":react_pages", ":shared_js_non_public", ":shared_js_file", ":rich_editor_js"],
46 visibility = ["//mrjunejune/test:__pkg__"], 54 visibility = ["//mrjunejune/test:__pkg__"],
47 ) 55 )
48 56
49 # Server binary 57 # Server binary
50 cc_binary( 58 cc_binary(
52 srcs = ["main.c"], 60 srcs = ["main.c"],
53 deps = [ 61 deps = [
54 "//seobeo:seobeo", 62 "//seobeo:seobeo",
55 "//markdown_converter:markdown_to_html_c", 63 "//markdown_converter:markdown_to_html_c",
56 "//s3:s3", 64 "//s3:s3",
65 "//deita:deita",
57 ], 66 ],
67 copts = ["-D_GNU_SOURCE"],
68 linkopts = ["-lpthread"],
58 data = [ 69 data = [
59 ":src_files", 70 ":src_files",
60 ":config_file", 71 ":config_file",
61 "//:env_file", 72 "//:env_file",
62 ], 73 ],
69 srcs = ["main.c"], 80 srcs = ["main.c"],
70 deps = [ 81 deps = [
71 "//seobeo:seobeo_debug", 82 "//seobeo:seobeo_debug",
72 "//markdown_converter:markdown_to_html_c", 83 "//markdown_converter:markdown_to_html_c",
73 "//s3:s3", 84 "//s3:s3",
85 "//deita:deita",
74 ], 86 ],
87 copts = ["-D_GNU_SOURCE"],
88 linkopts = ["-lpthread"],
75 data = [ 89 data = [
76 ":src_files", 90 ":src_files",
77 ":config_file", 91 ":config_file",
78 "//:env_file", 92 "//:env_file",
79 ], 93 ],