diff seobeo/BUILD @ 6:1e61008b9980

[Seobeo] Updated seobeo so that API is more opinionated. Added my webpage./build.sh
author June Park <parkjune1995@gmail.com>
date Mon, 29 Sep 2025 16:00:44 -0700
parents 2758f5527d2b
children 114cad94008f
line wrap: on
line diff
--- a/seobeo/BUILD	Sat Sep 27 16:23:04 2025 -0700
+++ b/seobeo/BUILD	Mon Sep 29 16:00:44 2025 -0700
@@ -5,25 +5,40 @@
   name = "seobeo",
   actual = select({
     "@platforms//os:osx": ":seobeo_example_mac",
-  })
+  }),
+  visibility = ["//visibility:public"],
+)
+
+filegroup(
+  name = "pages_files",
+  srcs = glob(["pages/**"]),
+)
+
+filegroup(
+  name = "seobeo_headers",
+  srcs = [
+    "seobeo.h",
+    "seobeo_internal.h"
+  ],
+  visibility = ["//visibility:public"],
 )
 
 cc_binary(
   name = "seobeo_example_mac",
   srcs = ["main.c"],
   deps = [":seobeo_non_window"],
-  data = [
-    "pages/index.html"
-  ],
+  data = glob(["pages/**"]),
   target_compatible_with = [
       "@platforms//os:osx",
   ],
+  visibility = ["//visibility:public"],
 )
 
 cc_library(
   name = "seobeo_non_window",
   srcs = [
     "s_linux_network.c",
+    "s_web.c",
   ],
   deps = ["//dowa:dowa"],
   hdrs = [
@@ -33,4 +48,5 @@
   target_compatible_with = [
       "@platforms//os:osx",
   ],
+  visibility = ["//visibility:public"],
 )