Mercurial
view mrjunejune/BUILD @ 59:e06bc03d9618
[Color Game] Making game with a friend.
| author | June Park <parkjune1995@gmail.com> |
|---|---|
| date | Sat, 20 Dec 2025 10:53:13 -0800 |
| parents | fb9bcd3145cb |
| children | a30944e5719e |
line wrap: on
line source
load("@rules_cc//cc:cc_binary.bzl", "cc_binary") load("@rules_cc//cc:cc_library.bzl", "cc_library") load("@rules_python//python:py_binary.bzl", "py_binary") 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", ) cc_library( name = "mrjunejune_server_lib", srcs = ["server_entry.c"], deps = ["//seobeo:seobeo"], linkstatic = False, # ensures dynamic linking visibility = ["//visibility:public"], ) py_binary( name = "python_server", srcs = ["python_server.py"], deps = [ ":mrjunejune_server_lib", "@pip_deps//:cffi", ], data = [":mrjunejune_server_lib"], )