Mercurial
diff mrjunejune/BUILD @ 126:e7899c93da77
Remove playground.
| author | June Park <parkjune1995@gmail.com> |
|---|---|
| date | Thu, 08 Jan 2026 18:03:34 -0800 |
| parents | f236c895604e |
| children | 7eb79fd91c7e |
line wrap: on
line diff
--- a/mrjunejune/BUILD Thu Jan 08 08:46:49 2026 -0800 +++ b/mrjunejune/BUILD Thu Jan 08 18:03:34 2026 -0800 @@ -23,6 +23,7 @@ filegroup( name = "src_files", srcs = glob(["src/**"]) + [":compiled_ts", ":compiled_ts_games"], + visibility = ["//mrjunejune/test:__pkg__"], ) # Server binary @@ -31,6 +32,7 @@ srcs = ["main.c"], deps = ["//seobeo:seobeo_tcp_server_ws"], data = [":src_files"], + visibility = ["//mrjunejune/test:__pkg__"], ) cc_binary( @@ -51,47 +53,6 @@ binary = ":mrjunejune_server_dev", ) -# Tests -# TODO: Move this in a folder. -cc_test( - name = "integration_test", - srcs = ["test/integration_test.c"], - deps = ["//seobeo:seobeo_min"], - data = [ - "//mrjunejune:mrjunejune_server", - "//mrjunejune:src_files", - "//mrjunejune:test_snapshots", - "//mrjunejune:test_files", - ], - size = "large", - timeout = "long", - args = ["$(location //mrjunejune:mrjunejune_server)"], -) - -cc_binary( - name = "create_snapshots", - srcs = ["test/create_snapshots.c"], - deps = ["//seobeo:seobeo_tcp_client"], - data = [ - "//mrjunejune:mrjunejune_server", - "//mrjunejune:src_files", - ], - args = ["$(location //mrjunejune:mrjunejune_server)"], -) - -filegroup( - name = "test_snapshots", - srcs = glob(["test/snapshots/**"]), -) - -filegroup( - name = "test_files", - srcs = [ - "test/shiba.webp", - "test/test_avi.avi", - ], -) - # Experimenting with python to see if I can call it as ffi. # load("@rules_python//python:py_binary.bzl", "py_binary") # This was to use python ffi, but w/e