Mercurial
view mrjunejune/BUILD @ 33:c0f6c8c7829f
[Seobeo] Linux epoll. Set the client socket to be nonblocking so that it doesn't stop loading when two different threads handle different client calls. I might have problem with socket not being cleaned up properly so need to check that.
| author | MrJuneJune <me@mrjunejune.com> |
|---|---|
| date | Fri, 10 Oct 2025 06:59:32 -0700 |
| parents | 2b9e75756825 |
| children | fb9bcd3145cb |
line wrap: on
line source
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", "bundle") move_files_into_dir( name = "compiled_ts", srcs = [ "//playground:hello", ], dest = "pages", ) filegroup( name = "pages_files", srcs = glob(["pages/**"]) + [":compiled_ts"], ) cc_binary( name = "mrjunejune_server", srcs = ["main.c"], deps = ["//seobeo:seobeo"], data = [":pages_files"], ) bundle( name = "mrjunejune_server_bundle", binary = ":mrjunejune_server", )